rubidium
|
00264cc708
|
(svn r26109) -Fix: missing initialisation
|
11 years ago |
rubidium
|
e106e54f9f
|
(svn r26102) -Fix: m_veh is not NULL by definition when IsRoadTT is true
|
11 years ago |
rubidium
|
0e9c992104
|
(svn r26058) -Fix: handle the return value of a number of functions better
|
11 years ago |
rubidium
|
f178899609
|
(svn r25609) -Fix [FS#5216]: under certain circumstances a track type change would make the end-of-line-is-red setting ineffective
|
11 years ago |
rubidium
|
740643f2b2
|
(svn r25608) -Codechange: make EndSegmentReasonBits available in yapf_base.hpp
|
11 years ago |
rubidium
|
eb538da228
|
(svn r24964) -Fix [FS#5416]: With YAPF the docking behaviour differed per direction; now favour docking in the direction you approached
|
12 years ago |
peter1138
|
c00a400cc7
|
(svn r24905) -Feature(ish): Implement station randomisation triggers.
|
12 years ago |
planetmaker
|
c24374f99c
|
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
|
12 years ago |
frosch
|
9d877e888a
|
(svn r24588) -Codechange: No need to intermingle reservation-checks with railroad checks. (Juanjo)
|
12 years ago |
frosch
|
962a7c3630
|
(svn r24587) -Codechange: Improve coding style (Juanjo)
|
12 years ago |
frosch
|
d17ec934f5
|
(svn r24481) -Feature [FS#5127]: Make the pathfinder decide whether ships shall leave depots towards north or south.
|
12 years ago |
frosch
|
9215192d34
|
(svn r24479) -Fix: Trains were unable to reverse in stations when using NPF.
|
12 years ago |
rubidium
|
6d6be50ae0
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
13 years ago |
truebrain
|
1c9bec1999
|
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
|
13 years ago |
michi_cc
|
24b7be856b
|
(svn r23564) -Fix [FS#4888]: Extending a path reservation starting at a partially reserved rail station could fail.
|
13 years ago |
truebrain
|
160bfd8851
|
(svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit)
|
13 years ago |
rubidium
|
2ed0f93bfb
|
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
|
13 years ago |
rubidium
|
7757a2ed40
|
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
|
13 years ago |
frosch
|
5ccd091fd1
|
(svn r22881) -Fix (r22875): GCC warnings on 64bit systems.
|
13 years ago |
michi_cc
|
f227e90c24
|
(svn r22875) -Codechange: Add some asserts and checks to better prevent overflow of the argument to malloc. (monoid)
|
13 years ago |
michi_cc
|
45b95ed629
|
(svn r22801) -Feature: [YAPF] Take canal/ocean speed fraction of ships into account.
|
13 years ago |
rubidium
|
4d5dbf5170
|
(svn r22410) -Document: some more bits ;)
|
14 years ago |
smatz
|
0c55cbfa73
|
(svn r22350) -Change: make YAPF hash tables much smaller, it should improve performance significantly (about 15%)
|
14 years ago |
smatz
|
6e011e9e68
|
(svn r22348) -Codechange: split ship-specific part of yapf_node.hpp to yapf_node_ship.hpp
|
14 years ago |
alberth
|
31386c42a7
|
(svn r22145) -Codechange: Do explicit test for non-bool values.
|
14 years ago |
alberth
|
1dbc0a20be
|
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
|
14 years ago |
rubidium
|
faf5d899f7
|
(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h
|
14 years ago |
rubidium
|
fd94ed3009
|
(svn r21996) -Fix [FS#4472]: [YAPF] Under some circumstances vehicles could be lost
|
14 years ago |
rubidium
|
7645c5ac43
|
(svn r21815) -Fix [FS#3908]: [YAPF] Apply a pathfinder penalty for back of one-way path signals so those aren't preferred over other possibilities
|
14 years ago |
terkhen
|
679cd3c21b
|
(svn r21803) -Cleanup: Remove unnecessary semicolons.
|
14 years ago |
rubidium
|
b68d37f2aa
|
(svn r21706) -Fix-ish [FS#4370]: the old ship pathfinder is too stupid to provide "lost" notices; it would even get lost while following it's own path
|
14 years ago |
smatz
|
aa4f269f3e
|
(svn r21652) -Cleanup: one semicolon is enough
|
14 years ago |
rubidium
|
ade19e5242
|
(svn r21651) -Fix [FS#4338] (r21229): infinite loop in the road pathfinder due to bouncing around in an "one way" trap; two one ways pointing towards eachother making it impossible to leave
|
14 years ago |
rubidium
|
b323000253
|
(svn r21631) -Fix [FS#4325]: ships with the old pathfinder would easily show up as lost, even when it would eventually find a path. Now also the distance from the "end" of the pathfinding run to the destination is compared to the current distance to the destination; if the distance to the destination at the end of the pathfinder run is less than the current distance from the destination the ship won't be marked as lost. This means that the ships with the old pathfinder will less likely get marked as lost, but due to the design of the old ship pathfinder there "lostness" is merely a best guess. When you still get a lost message
|
14 years ago |
alberth
|
67cd2cd6be
|
(svn r21594) -Codechange: Whitespace fixes in ifndef/define lines.
|
14 years ago |
rubidium
|
29fc9b1d48
|
(svn r21533) -Codechange: replace some magic numbers with less magic constants
|
14 years ago |
michi_cc
|
e744b97ec8
|
(svn r21524) -Fix [FS#4302]: Do not apply the last signal red pathfinder penalty when the signal is a path signal.
|
14 years ago |
terkhen
|
48b7916458
|
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
|
14 years ago |
terkhen
|
79e2b3153d
|
(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
|
14 years ago |
rubidium
|
4045429df6
|
(svn r21511) -Feature: vehicle lost message for ships
|
14 years ago |
rubidium
|
6bc002ad74
|
(svn r21510) -Feature [FS#1956]: vehicle lost message for road vehicles
|
14 years ago |
rubidium
|
b05d2675fc
|
(svn r21509) -Codechange: rename the rail pathfinders "path_not_found" parameter to "path_found" and remove the ! where the variables are set / read
|
14 years ago |
yexo
|
22d0ce0366
|
(svn r21372) -Cleanup: remove some broken npf debug code
|
14 years ago |
alberth
|
ab50f74d7f
|
(svn r21273) -Codechange: Return values should start at the same line.
|
14 years ago |
rubidium
|
3ca5951478
|
(svn r21271) -Change: use the last red instead of last red exit penalty for making sure other waypoint entries are evaluated as well when they are occupied, e.g. when there are no signals before the waypoint but a train just beyond the waypoint is stopped (like for stations)
|
14 years ago |
rubidium
|
6878a0ffd7
|
(svn r21229) -Fix [FS#4130]: [YAPF] Road vehicles not finding the nearest depot in some (corner) cases
|
14 years ago |
terkhen
|
e08aa7e8e6
|
(svn r21121) -Fix (r21100): Use the cached max speed when calculating YAPF penalties for road vehicles.
|
14 years ago |
michi_cc
|
b26b8b5b2a
|
(svn r21107) -Fix: Don't use the maximum track speed where the maximum vehicle speed is meant.
|
14 years ago |
alberth
|
7e48d85104
|
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
|
14 years ago |
smatz
|
10ee071cab
|
(svn r20948) -Fix (r20880): compiler warning
|
14 years ago |
alberth
|
7c312f602c
|
(svn r20890) -Doc: Make documentation accessible to doxygen.
|
14 years ago |
alberth
|
6a9b205670
|
(svn r20889) -Codechange: Make ClosedListHash, OpenListQueue, and OpenListHash data protected, and rename for coding style.
|
14 years ago |
alberth
|
0c08955f4d
|
(svn r20888) -Codechange: Make Hash_FindNode a method.
|
14 years ago |
alberth
|
6802527e02
|
(svn r20887) -Codechange: Make stat_Hash a method.
|
14 years ago |
alberth
|
4af4d268d8
|
(svn r20886) -Codechange: Make init_Hash a method.
|
14 years ago |
alberth
|
6f85b46eeb
|
(svn r20885) -Codechange: Make delete_Hash a method.
|
14 years ago |
alberth
|
d86f781ca5
|
(svn r20884) -Codechange: Make clear_Hash a method.
|
14 years ago |
alberth
|
f185a35269
|
(svn r20883) -Codechange: Make Hash_Delete a method.
|
14 years ago |
alberth
|
15b784471e
|
(svn r20882) -Codechange: Make Hash_Set a method.
|
14 years ago |
alberth
|
4ed94825b2
|
(svn r20881) -Codechange: Make Hash_Get a method.
|
14 years ago |
alberth
|
6ea5643e40
|
(svn r20880) -Codechange: Make Hash_Size a method.
|
14 years ago |
alberth
|
a7ffc9a268
|
(svn r20879) -Codechange: Make AyStarMain_ClosedList_IsInList a method.
|
14 years ago |
alberth
|
4f8af5d336
|
(svn r20878) -Codechange: Make AyStarMain_ClosedList_Add a method.
|
14 years ago |
alberth
|
fa661e4075
|
(svn r20877) -Codechange: Make AyStarMain_OpenList_IsInList a method.
|
14 years ago |
alberth
|
5e636d6a5c
|
(svn r20876) -Codechange: Make AyStarMain_OpenList_Pop a method.
|
14 years ago |
alberth
|
969139b343
|
(svn r20875) -Codechange: Make AyStarMain_OpenList_Add a method.
|
14 years ago |
alberth
|
9b21dfaeb0
|
(svn r20874) -Codechange: Make init_AyStar a method.
|
14 years ago |
alberth
|
7bb7d6c35a
|
(svn r20868) -Codechange: Make AyStarMain_Main() a method.
|
14 years ago |
alberth
|
49ba3539b5
|
(svn r20867) -Codechange: Make AyStarMain_AddStartNode() a method.
|
14 years ago |
alberth
|
92f0bdec2c
|
(svn r20866) -Codechange: CheckTile() always returns the same (ignored) value.
|
14 years ago |
alberth
|
776d541a89
|
(svn r20865) -Codechange: Make AyStarMain_CheckTile() a method.
|
14 years ago |
alberth
|
8e5aaca653
|
(svn r20864) -Codechange: Make AyStar_Clear() a method.
|
14 years ago |
alberth
|
2a796187ef
|
(svn r20863) -Codechange: Make AyStarMain_Loop a method.
|
14 years ago |
alberth
|
581d1070b4
|
(svn r20862) -Codechange: Make AyStar_Free() a method.
|
14 years ago |
smatz
|
77fe95f552
|
(svn r20860) -Cleanup: remove some unused functions and variables
|
14 years ago |
alberth
|
219ad6e003
|
(svn r20688) -Codechange: Rename Queue struct to BinaryHeap.
|
14 years ago |
alberth
|
ed72338513
|
(svn r20687) -Codechange: Replace the THISBIN_HEAP_ARR macro by a GetElement() method.
|
14 years ago |
alberth
|
bc6a5a5e64
|
(svn r20686) -Codechange: Make init_BinaryHeap() a method.
|
14 years ago |
alberth
|
2c962548e5
|
(svn r20685) -Codechange: Make BinaryHeap_Clear() a method.
|
14 years ago |
alberth
|
b06cedc905
|
(svn r20684) -Codechange: Make BinaryHeap_Free() a method.
|
14 years ago |
alberth
|
3f0cd8c9f0
|
(svn r20683) -Codechange: Make BinaryHeap_Delete() a method.
|
14 years ago |
alberth
|
10b182482e
|
(svn r20682) -Codechange: Make BinaryHeap_Pop() a method.
|
14 years ago |
alberth
|
92801ac718
|
(svn r20681) -Codechange: Make BinaryHeap_Push() a method, introduce temporary THISBIN_HEAP_ARR macro.
|
14 years ago |
alberth
|
68e2a07479
|
(svn r20680) -Codechange: Remove the now useless union and struct wrappers around the binary heap data.
|
14 years ago |
alberth
|
ded2acf02e
|
(svn r20679) -Codechange: Remove unused insertion sorter.
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
yexo
|
53811d79c5
|
(svn r20475) -Fix (r20474): also remove the include of crc32.hpp
|
14 years ago |
yexo
|
241d705406
|
(svn r20474) -Cleanup: remove some unused code
|
14 years ago |
frosch
|
4bd32799f1
|
(svn r20286) -Codechange: Unify end of doxygen comments.
|
14 years ago |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
14 years ago |
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
14 years ago |
alberth
|
a825b4fa5f
|
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
|
14 years ago |
alberth
|
be6c058424
|
(svn r20211) -Codechange: Indented code should have curly braces around it.
|
14 years ago |
michi_cc
|
f3b56340c2
|
(svn r19896) -Fix [FS#3803] (r18648): [YAPP] Inform the pathfinder as well about the fact that the backside of an one-way path signal can be a safe waiting point.
|
15 years ago |
rubidium
|
d8d37466af
|
(svn r19873) -Fix [FS#3817]: if the (guessed initial) destination tile of a road stop wasn't a road stop but was a T-junction or turn, the road vehicles would jump around in circles
|
15 years ago |
smatz
|
28d25cadfc
|
(svn r19815) -Cleanup: remove two unused variables
|
15 years ago |
rubidium
|
062dd0e24c
|
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
|
15 years ago |
rubidium
|
398418b8fa
|
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
|
15 years ago |
rubidium
|
dc149021be
|
(svn r19810) -Fix: [YAPF] Improperly formatted (global) constant
|
15 years ago |
rubidium
|
99ecfe4061
|
(svn r19792) -Change: use the typed FOR_EACH_SET_BIT for Tracks (adf88)
|
15 years ago |