Tue, 05 Sep 2006 23:43:42 +0000 |
Darkvater |
(svn r6407) -Fix: Check return values of DoCommand() with CmdFailed and that of DoCommandP
|
file |
diff |
annotate
|
Tue, 05 Sep 2006 23:21:41 +0000 |
Darkvater |
(svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
|
file |
diff |
annotate
|
Sun, 03 Sep 2006 08:25:27 +0000 |
tron |
(svn r6353) -Codechange: Make DestinationID a typedef of uin16, which is as large as any type of destinataion (StationID, DepotID, WaypointID) it can hold
|
file |
diff |
annotate
|
Thu, 31 Aug 2006 15:57:38 +0000 |
Darkvater |
(svn r6280) -Codechange: Use the same naming for trains as for other vehicles:
|
file |
diff |
annotate
|
Mon, 28 Aug 2006 18:53:03 +0000 |
rubidium |
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
|
file |
diff |
annotate
|
Sat, 26 Aug 2006 16:34:03 +0000 |
truelight |
(svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore)
|
file |
diff |
annotate
|
Tue, 22 Aug 2006 21:14:45 +0000 |
truelight |
(svn r6057) -Codechange: made a function GetRandomXXX, that _always_ returns a valid XXX, unless there are none to pick from. Then NULL is returned.
|
file |
diff |
annotate
|
Tue, 22 Aug 2006 20:41:26 +0000 |
truelight |
(svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that).
|
file |
diff |
annotate
|
Tue, 22 Aug 2006 15:33:35 +0000 |
truelight |
(svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
|
file |
diff |
annotate
|
Tue, 22 Aug 2006 14:38:37 +0000 |
rubidium |
(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
|
file |
diff |
annotate
|
Tue, 22 Aug 2006 12:15:51 +0000 |
truelight |
(svn r6043) -Codechange: use wrapper if they are available
|
file |
diff |
annotate
|
Sun, 20 Aug 2006 12:39:17 +0000 |
rubidium |
(svn r5975) -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the functions really depend on the original date format.
|
file |
diff |
annotate
|
Mon, 14 Aug 2006 14:21:15 +0000 |
rubidium |
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
|
file |
diff |
annotate
|
Tue, 27 Jun 2006 21:25:53 +0000 |
tron |
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
|
file |
diff |
annotate
|
Wed, 14 Jun 2006 11:26:56 +0000 |
tron |
(svn r5263) Use the flag which denotes if it's a plane or helicopter instead of magical engine numbers
|
file |
diff |
annotate
|
Sun, 11 Jun 2006 21:19:51 +0000 |
KUDr |
(svn r5228) Suppress MSVC warnings about signed/unsigned comparison
|
file |
diff |
annotate
|
Sun, 11 Jun 2006 07:17:43 +0000 |
tron |
(svn r5222) Misc. smaller changes, mostly const, variable scope and replacing some magic numbers by enums
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Wed, 07 Jun 2006 19:35:21 +0000 |
tron |
(svn r5155) - Remove the bridge branch merge (revision r5070)
|
file |
diff |
annotate
|
Mon, 05 Jun 2006 15:47:08 +0000 |
tron |
(svn r5129) Accommodate the default AI for the new railtype: It used hard coded numbers instead of enums to calculate prices
|
file |
diff |
annotate
|
Mon, 05 Jun 2006 15:29:47 +0000 |
tron |
(svn r5128) Remove the global variable _cur_ai_player
|
file |
diff |
annotate
|
Mon, 05 Jun 2006 14:54:23 +0000 |
tron |
(svn r5127) Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped()
|
file |
diff |
annotate
|
Sun, 04 Jun 2006 09:28:33 +0000 |
tron |
(svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.
|
file |
diff |
annotate
|
Fri, 02 Jun 2006 13:05:41 +0000 |
celestar |
(svn r5070) Merged the bridge branch
|
file |
diff |
annotate
|
Sat, 20 May 2006 15:13:27 +0000 |
tron |
(svn r4918) Move the information about the size of airports from an global array into the struct which describes an airport
|
file |
diff |
annotate
|
Fri, 19 May 2006 12:08:01 +0000 |
celestar |
(svn r4911) -Fix (FS#156): The Ai no longer attempts to build signals under bridges.
|
file |
diff |
annotate
|
Tue, 09 May 2006 08:25:31 +0000 |
rubidium |
(svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
|
file |
diff |
annotate
|
Tue, 09 May 2006 08:17:33 +0000 |
rubidium |
(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
|
file |
diff |
annotate
|
Sun, 23 Apr 2006 19:08:33 +0000 |
tron |
(svn r4553) int and magic numbers -> Slope and DiagDirection
|
file |
diff |
annotate
|
Fri, 21 Apr 2006 17:51:01 +0000 |
celestar |
(svn r4502) -Cleanup: Remove code unused since rev1. (Rubidium)
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Sat, 08 Apr 2006 01:07:32 +0000 |
belugas |
(svn r4318) CodeChange : Remove last direct map access on ai/default/default.c
|
file |
diff |
annotate
|
Wed, 29 Mar 2006 19:03:47 +0000 |
celestar |
(svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...
|
file |
diff |
annotate
|
Wed, 29 Mar 2006 16:30:26 +0000 |
celestar |
(svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
|
file |
diff |
annotate
|
Sun, 26 Mar 2006 22:56:58 +0000 |
Darkvater |
(svn r4132) - Missed 3 CargoID's
|
file |
diff |
annotate
|
Sun, 26 Mar 2006 22:23:32 +0000 |
Darkvater |
(svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
|
file |
diff |
annotate
|
Sun, 26 Mar 2006 19:20:15 +0000 |
tron |
(svn r4120) Use the new station functions where appropriate
|
file |
diff |
annotate
|
Sun, 26 Mar 2006 18:48:23 +0000 |
tron |
(svn r4116) -Fix: The AI should send a plane into a hangar if it's not in a hangar _or_ not stopped, not when it's not in a hangar _and_ not stopped
|
file |
diff |
annotate
|
Fri, 24 Mar 2006 08:55:08 +0000 |
tron |
(svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the station from a tile
|
file |
diff |
annotate
|
Sun, 19 Mar 2006 13:48:08 +0000 |
tron |
(svn r3981) More work for the rail accessing functions and enums
|
file |
diff |
annotate
|
Thu, 16 Mar 2006 15:16:27 +0000 |
tron |
(svn r3907) Replace many bridge related direct map accesses with calls to shiny new functions and mark some strange constructs with XXX
|
file |
diff |
annotate
|
Wed, 15 Mar 2006 16:44:50 +0000 |
tron |
(svn r3887) Add a function to get the other bridge end when you're at a bridge ramp
|
file |
diff |
annotate
|
Tue, 14 Mar 2006 12:00:11 +0000 |
tron |
(svn r3857) Add and use GetBridgeRampDirection()
|
file |
diff |
annotate
|
Sun, 12 Mar 2006 16:13:16 +0000 |
tron |
(svn r3831) Add and use GetRailDepotDirection()
|
file |
diff |
annotate
|
Sun, 12 Mar 2006 15:04:03 +0000 |
tron |
(svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does
|
file |
diff |
annotate
|
Sat, 11 Mar 2006 09:10:46 +0000 |
tron |
(svn r3816) Use existing accessors
|
file |
diff |
annotate
|
Mon, 06 Mar 2006 20:28:28 +0000 |
tron |
(svn r3776) Replace many ints and magic numbers by Direction, DiagDirection and friends
|
file |
diff |
annotate
|
Sun, 05 Mar 2006 10:19:33 +0000 |
tron |
(svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme
|
file |
diff |
annotate
|
Mon, 27 Feb 2006 08:08:10 +0000 |
tron |
(svn r3677) Remove the FindLandscapeHeightByTile()s from the default AI.
|
file |
diff |
annotate
|
Thu, 23 Feb 2006 12:24:19 +0000 |
tron |
(svn r3660) Convert further road bits and type references to the functions/enums
|
file |
diff |
annotate
|
Sat, 18 Feb 2006 14:52:42 +0000 |
tron |
(svn r3614) turn 2 do-while-loop with 2 induction variables each into canocical for loops
|
file |
diff |
annotate
|
Sat, 18 Feb 2006 14:41:24 +0000 |
tron |
(svn r3613) Some more const, indentation, whitespace and similar stuff
|
file |
diff |
annotate
|
Mon, 13 Feb 2006 22:13:02 +0000 |
peter1138 |
(svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
|
file |
diff |
annotate
|
Mon, 06 Feb 2006 09:18:04 +0000 |
tron |
(svn r3564) Several smaller changes:
|
file |
diff |
annotate
|
Wed, 01 Feb 2006 07:36:15 +0000 |
tron |
(svn r3511) More whitespace ([FS#46] by Rubidium)
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Wed, 14 Dec 2005 06:28:48 +0000 |
tron |
(svn r3298) Remove unused and write-only variables
|
file |
diff |
annotate
|
Sat, 10 Dec 2005 12:05:39 +0000 |
peter1138 |
(svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()
|
file |
diff |
annotate
|
Tue, 22 Nov 2005 15:55:38 +0000 |
truelight |
(svn r3226) -Fix: GPMI implementation had minor glitches
|
file |
diff |
annotate
|
Tue, 15 Nov 2005 11:46:49 +0000 |
tron |
(svn r3190) Turn some loops into canonical for loop form
|
file |
diff |
annotate
|