Commit Graph

9862 Commits

Author SHA1 Message Date
frosch
84cbf2c755 (svn r14006) -Codechange: Deduplicate some code. 2008-08-06 18:57:37 +00:00
smatz
132e7e9b69 (svn r14005) -Codechange: minor coding style fix 2008-08-06 15:52:04 +00:00
peter1138
76b0ffd342 (svn r14004) -Codechange: Clean of drop down lists.
Move empty item drawing to base ListItem Draw() function.
  Remove String() from base class.
  Pass correct width to Draw().
2008-08-06 07:10:40 +00:00
belugas
6532897b5a (svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls 2008-08-06 04:01:07 +00:00
smatz
7fce33fb51 (svn r14001) -Fix (r13989): reading wrong variable, train crash on bridge crashes game 2008-08-05 13:25:49 +00:00
peter1138
b1dd8f9334 (svn r14000) -Codechange: Missing enum entries kind of defeat the point of the enum 2008-08-05 00:17:56 +00:00
rubidium
1ef65c329e (svn r13999) -Fix [FS#2190]: crash when the AI tries to find the depot of an airport that doesn't have a depot. 2008-08-04 22:31:49 +00:00
rubidium
4879ca8817 (svn r13998) -Fix [FS#2004]: MSVC can't handle changed files in the prebuild event, so make the version determination a separate subproject (michi_cc). 2008-08-04 21:51:52 +00:00
rubidium
12037a8b38 (svn r13997) -Fix (r13988): in some cases no broadcast addresses would be found. 2008-08-04 19:07:37 +00:00
frosch
d8bfe46027 (svn r13996) -Fix (r13845): Oilrigs from pre r13838 save games can have unknown water class. 2008-08-04 18:54:19 +00:00
rubidium
b32b101b8c (svn r13995) -Fix (r13988): some warnings of the compile farm. 2008-08-04 18:27:54 +00:00
belugas
39c92f9068 (svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values 2008-08-04 17:27:06 +00:00
belugas
754c825b2c (svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table 2008-08-04 17:12:23 +00:00
rubidium
fb5c4e469b (svn r13992) -Fix [FS#2189]: the dedicated console removed any character that was not a printable ASCII character instead. Now it allows UTF8 formated strings too. 2008-08-04 15:07:17 +00:00
smatz
d097276022 (svn r13991) -Codechange: draw text effects after all other signs 2008-08-04 14:40:50 +00:00
glx
b9bbcfcb9b (svn r13990) -Fix (r13988): win32 compilation failed 2008-08-04 13:54:10 +00:00
rubidium
33148eae6e (svn r13989) -Fix [FS#2186] (r13953): YAPP track reservation for crashed trains was broken for depots and wormholes (michi_cc). 2008-08-04 13:15:15 +00:00
rubidium
eb5fb4443a (svn r13988) -Codechange: move the to IP resolving functions to a separate file. 2008-08-04 12:56:38 +00:00
peter1138
8018aeac9f (svn r13987) -Codechange: Resize small map legend dynamically on window resize and when switching small map types, so that the legend is taller only on the industry type and only when the legend will not fit in the available space. 2008-08-04 05:59:28 +00:00
smatz
bea84ea8d9 (svn r13985) -Fix (r13944): gcc 2.95 compilation 2008-08-03 20:50:12 +00:00
peter1138
f02671e0f4 (svn r13984) -Codechange: Simplify industry legend on small map, by automatically splitting columns based on widget height. 2008-08-03 20:09:35 +00:00
frosch
8644a8915e (svn r13983) -Fix (r13953) [YAPP]: Crashed trains can be on different trackbits. Make sure there is still a track reservation when one vehicle is cleaned up. 2008-08-03 19:04:11 +00:00
peter1138
a5913396f0 (svn r13982) -Fix (r13981): And then not enough was cleared... 2008-08-03 18:56:44 +00:00
peter1138
70e195126b (svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should. 2008-08-03 18:51:13 +00:00
peter1138
85accd400b (svn r13980) -Codechange: Turn small map legend while loop into a for-loop. 2008-08-03 18:18:36 +00:00
peter1138
99771c63ba (svn r13979) -Codechange: Use widget dimensions instead of magic number incantations for limiting small map area. 2008-08-03 18:00:28 +00:00
peter1138
efcc875036 (svn r13978) -Fix: Incorrect widget size. 2008-08-03 17:36:39 +00:00
peter1138
d5c80dfb8e (svn r13977) -Codechange: Let ResizeWindowForWidget() handle hidden (zero height or zero width) widgets. 2008-08-03 17:35:08 +00:00
frosch
fe058e2ec2 (svn r13976) -Fix (r13953) [YAPP]: A crashing train could sometimes free the reservation of another train. (assisted by michi_cc) 2008-08-03 17:16:39 +00:00
peter1138
6e4144f84b (svn r13975) -Codechange: Replace some globals used by the small map window with static members of the window. 2008-08-03 14:58:26 +00:00
frosch
ba1b3c7f11 (svn r13974) -Fix [YAPP]: A train crash could lead to stale reservations. (michi_cc) 2008-08-03 14:16:57 +00:00
smatz
98bb9ffada (svn r13973) -Codechange [YAPP]: Improve the behavior when changing signals to not cause stale reservations. (michi_cc) 2008-08-03 11:28:35 +00:00
rubidium
bd0f9f1097 (svn r13972) -Fix [FS#2180]: the timetable's "Clear Time" button didn't have any effect. 2008-08-03 08:25:26 +00:00
rubidium
8b10e70f39 (svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc) 2008-08-03 08:20:04 +00:00
belugas
98d8501278 (svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
Mostly forgotten ones.
2008-08-03 02:18:45 +00:00
glx
d6520ae096 (svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning 2008-08-02 23:30:50 +00:00
rubidium
e62a150293 (svn r13967) -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc) 2008-08-02 22:57:47 +00:00
rubidium
1e549a0fcc (svn r13966) -Codechange [YAPP]: Bar level crossings upon path reservation. (michi_cc) 2008-08-02 22:57:18 +00:00
rubidium
2a567afff4 (svn r13965) -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS reservation state). (michi_cc) 2008-08-02 22:57:03 +00:00
rubidium
14f6b1f49c (svn r13964) -Codechange [YAPP]: Check if a train needs servicing when reserving the next path segment. (michi_cc) 2008-08-02 22:56:50 +00:00
rubidium
e0e8f0e711 (svn r13963) -Codechange [YAPP]: Reserve a track when entering a PBS block through a conventional signal. (michi_cc) 2008-08-02 22:56:35 +00:00
rubidium
ed629f599b (svn r13962) -Codechange [YAPP]: Do not reverse in front of red signals when inside a PBS block and reversing of stuck trains is disabled. (michi_cc) 2008-08-02 22:56:21 +00:00
rubidium
a32fb70e1d (svn r13961) -Add [YAPP]: Handle train reversing. (michi_cc) 2008-08-02 22:56:07 +00:00
rubidium
e78a235293 (svn r13960) -Codechange [YAPP]: Reserve a path when exiting a depot into a PBS block. (michi_cc) 2008-08-02 22:55:52 +00:00
rubidium
0b38276d5a (svn r13959) -Codechange [YAPP]: Try to extend a train reservation as far as possible and only call into the pathfinder on track choices. (michi_cc) 2008-08-02 22:55:38 +00:00
rubidium
1415b19fad (svn r13958) -Add [YAPP]: Implement look-ahead for trains so they extend their reservation before reaching the end. (michi_cc) 2008-08-02 22:55:23 +00:00
rubidium
f0fdbf9644 (svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc) 2008-08-02 22:55:08 +00:00
rubidium
bcfc5a78ed (svn r13956) -Add [YAPP]: Function for getting the train holding a reserved path. (michi_cc) 2008-08-02 22:54:53 +00:00
rubidium
c213ff35e5 (svn r13955) -Codechange [YAPP]: Try to extend the path of a stuck train so it is able to continue. (michi_cc) 2008-08-02 22:54:38 +00:00
rubidium
49967b9077 (svn r13954) -Codechange [YAPP]: On reserving a path that ends at the destination, the path could end at a non-safe tile. In this case, extend the reservation based on the next vehicle orders. (michi_cc) 2008-08-02 22:54:23 +00:00