Commit Graph

9871 Commits

Author SHA1 Message Date
belugas
e89b108161 (svn r14016) -Codechange: Remove some magical numbers 2008-08-08 02:28:28 +00:00
peter1138
d6c385a41e (svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released. 2008-08-07 18:26:13 +00:00
peter1138
ad52678d14 (svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item. 2008-08-07 18:11:09 +00:00
rubidium
6acc3f6e59 (svn r14013) -Fix [FS#2202]: do not allow extending signals by dragging in any direction other than the track direction. 2008-08-07 13:07:51 +00:00
peter1138
f7ea5b51e7 (svn r14012) -Fix (r13936): Don't copy pre-signal type when dragging signals. 2008-08-07 07:48:57 +00:00
belugas
d27984b79c (svn r14011) -Codechange: not required to define an enum which was just the representation of another.
If you want to customize it more easily, why not a simple const of said enum value?
2008-08-07 01:28:27 +00:00
peter1138
afe73dfe11 (svn r14009) -Cleanup (r14008): Bad whitespace... 2008-08-06 20:14:21 +00:00
peter1138
1a28c1c4ee (svn r14008) -Fix (r14004): NewGRF preset drop down list not working 2008-08-06 20:12:42 +00:00
frosch
3064767d69 (svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal state is botched up from outside. 2008-08-06 19:00:31 +00:00
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