glx
c72b00b30d
(svn r6411) -Fix(r6410): forgot to update openttd*.sln (thx Darkvater and michi_cc :) )
...
-Cleanup: Removed UNITTEST preprocessor checks
2006-09-06 14:24:43 +00:00
glx
b3dae23976
(svn r6410) -remove unittest
2006-09-06 13:58:31 +00:00
glx
431c22029b
(svn r6408) -Fix(r6406): compilation was broken
...
-Codechange: Rename TileIndexDiffCByDir to TileIndexDiffCByDiagDir because it accepts DiagDirections
2006-09-06 01:56:01 +00:00
Darkvater
7e4d0f112e
(svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
...
DiagDirections, and add TileOffsByDir that handles Directions.
-Codechange: Make the treeloop use TileOffsByDir().
2006-09-05 23:21:41 +00:00
rubidium
21ac20aeca
(svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
...
-Cleanup: whitespace alignment of a few tables.
2006-09-04 20:40:33 +00:00
tron
d5e5a78cf4
(svn r6353) -Codechange: Make DestinationID a typedef of uin16, which is as large as any type of destinataion (StationID, DepotID, WaypointID) it can hold
...
DestinationID being a union of these types is just hassle without benefit and cannot be handled correctly everywhere because of local lack of information
2006-09-03 08:25:27 +00:00
KUDr
d5ebb2b359
(svn r6245) -Add: added comments for all YAPF C interface functions (yapf.h) used by other modules, added FollowTrackInit() into YAPF track followers.
2006-08-30 21:10:25 +00:00
rubidium
86dc219b4b
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
2006-08-28 18:53:03 +00:00
KUDr
1385d33ff0
(svn r6166) -Fix: [YAPF] fixes one very improbable assert when adding startup node that already exists in the open-list (thanks Panzerfather)
2006-08-27 09:50:43 +00:00
KUDr
6f9276ed57
(svn r6164) -Fix [YAPF]: Road vehicles preferring bends - added yapf.road_curve_penalty setting with default value 100 (=YAPF_TILE_LENGTH) that is saved only in MP games (mart3p)
2006-08-27 07:23:46 +00:00
KUDr
b46b818446
(svn r6163) -Codechange: distance rounded up (correction of r6162)
2006-08-27 07:04:14 +00:00
KUDr
be594eff6e
(svn r6162) -Fix: Multistop problem caused by incorrect distance returned by YapfRoadVehDistanceToTile() (by mart3p)
2006-08-27 06:52:25 +00:00
KUDr
0fa65dd6f3
(svn r6160) -Fix [ 1519167 ] Bus trying to service in depot of other company (mart3p)
...
thanks Darkvater for hotfix (r5897)
2006-08-26 22:24:32 +00:00
truelight
65f5ec13f6
(svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore)
...
-Codechange: introduced DestinationID, which is in fact an union of several types
Used in Order struct, so no longer StationID is abused for all targets.
Hangars are a big exception, as they use a station-id with GOTO_DEPOT (go figure)
2006-08-26 16:34:03 +00:00
truelight
ed399ffd84
(svn r6084) -Fix r6073: if we removed MSVC6 support, then why is unittest.dsp still around...
2006-08-24 10:11:32 +00:00
rubidium
894d9fc12f
(svn r5934) -Cleanup: forgot some conversions to Year and to Date
...
-Cleanup: use _cur_year instead of _date for some (year based) comparisons
-Cleanup: remove a magic number in favour of another (less) magic number
2006-08-17 20:22:35 +00:00
Darkvater
10a2a00138
(svn r5897) -Fix [ 1519167 ] Bus trying to service in depot of other company (mart3p)
2006-08-14 22:23:13 +00:00
rubidium
9fc837ad85
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
...
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-08-14 14:21:15 +00:00
Darkvater
83290e8cea
(svn r5813) Add x64 target to VS2005 project files (michi_cc)
2006-08-09 08:48:33 +00:00
Darkvater
df90a8a89d
(svn r5286) - Clean up VS2005 project files by making them identical to the VS2003 project file. Mainly put object files into a subdirectory of the project directory instead of a level higher which makes absolutely no sense. Also add some ignores, remove obsolete VS6 project files.
2006-06-16 00:28:15 +00:00
peter1138
23c672edb8
(svn r5196) - Codechange: replace two incorrect uses of TILE_HEIGHT with TILE_SIZE / 2
2006-06-09 14:37:28 +00:00
KUDr
7b4c46e388
(svn r5169) - CodeChange: [YAPF] RVs now use YAPF_TILE_LENGTH as base unit and 2 configurable settings (slope and crossing penalties) for cost calculation
2006-06-08 17:31:03 +00:00
KUDr
e811c6a868
(svn r5163) - CodeChange: [YAPF] "treat first red two-way signal as dead end" is not applied if train didn't pass choice.
...
It allows pathfinder to plan route through first red two-way signal if the train has no other choice than to pass it.
2006-06-07 21:18:08 +00:00
KUDr
68372f4c16
(svn r5162) - CodeChange: [YAPF] added flag "choice seen" into YAPF node for trains
2006-06-07 21:16:43 +00:00
tron
7fd88e5798
(svn r5155) - Remove the bridge branch merge (revision r5070)
2006-06-07 19:35:21 +00:00
KUDr
8992f9cb2b
(svn r5153) - Fix: [YAPF] RVs can now plan path reversing in depot or end of road
2006-06-07 18:41:58 +00:00
KUDr
b1ef3b117e
(svn r5148) - Fix: [YAPF] RVs can now find depot they are currently in (thanks Darkvater)
2006-06-07 17:04:22 +00:00
tron
d47e02fcfe
(svn r5138) Two more like r5136
2006-06-05 18:16:41 +00:00
tron
020721565a
(svn r5136) Fix various style bugs:
...
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
2006-06-05 18:10:43 +00:00
KUDr
6b1f0d610c
(svn r5093) -CodeChange: [YAPF] min. debug level changed from 1 to 3 and 4 for frequent debug messages (performance stats)
2006-06-04 09:13:59 +00:00
KUDr
ba25c1e222
(svn r5076) CodeChange: [YAPF] Platform selection feature related settings added into regular savegames (breaks savegame compatibility only with r5070 and 5071).
2006-06-02 16:31:35 +00:00
celestar
b618b75c9b
(svn r5070) 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.
2006-06-02 13:05:41 +00:00
KUDr
7e6d84a34e
(svn r5067) -Codechange: [YAPF] Platform selection feature now applies penalty per platform instead of per tile (should give better results)
2006-06-01 22:20:40 +00:00
KUDr
10185f6c11
(svn r5066) -Feature: [YAPF] Train selects the best station platform by length
2006-06-01 21:39:35 +00:00
KUDr
60957de409
(svn r5065) -CodeChange: [YAPF] Added PfDetectDestination(tile, trackdir) for trains (to be used by platform selection feature)
2006-06-01 21:00:59 +00:00
KUDr
c514f84a16
(svn r5057) -Fix: [YAPF] trains can't find depot for servicing (thanks Smoky555)
2006-05-31 06:51:56 +00:00
KUDr
325a1d88f7
(svn r5037) -Fix: assert when GetVehicleTrackdir() returns wrong trackdir - introduced by r5033 (thanks yanek)
2006-05-30 15:04:59 +00:00
KUDr
af1b942906
(svn r5033) -CodeChange: [YAPF] RoadFindPathToStop() can now use YAPF for multistop handling.
2006-05-30 10:53:27 +00:00
KUDr
af9f81b6a8
(svn r5018) [YAPF] Added some comments to YAPF implementation.
2006-05-29 18:39:42 +00:00
KUDr
fe2d631b66
(svn r5013) -Fix: [YAPF] RVs trying to plan route through railway.
...
Should fix assert("(GetTileTrackStatus(m_old_tile, TT()) & TrackdirToTrackdirBits(m_old_td)) != 0")
Thanks Celestar for the reproducible case.
2006-05-29 15:04:42 +00:00
KUDr
21e7d7eaaa
(svn r5006) Added comments where doxygen generated warnings to test if it can help.
2006-05-28 19:01:29 +00:00
KUDr
e587898598
(svn r4992) - Fix: [YAPF] error "too many arguments to function `void * operator new(unsigned int)'" on MorphOS
2006-05-27 18:52:28 +00:00
KUDr
308f27a3de
(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
2006-05-27 16:12:16 +00:00