------------------------------------------------------------------------ r14032 | bjarni | 2008-08-09 17:56:31 +0000 (Sat, 09 Aug 2008) | 3 lines -Fix (r13584): [OSX] changed the condition for selecting 8 or 32 bpp blitter by default Now we will pick 32 bpp if no 8 bpp fullscreen resolutions are available on the main display (the one with the dock) ------------------------------------------------------------------------ r14031 | frosch | 2008-08-09 16:42:55 +0000 (Sat, 09 Aug 2008) | 1 line -Fix (r13850): Determining the refit cargo did not work, when the old vehicle did not carry anything but the new one did. ------------------------------------------------------------------------ r14030 | frosch | 2008-08-09 11:04:42 +0000 (Sat, 09 Aug 2008) | 1 line -Fix (r14027): true != false, also rename the parameter to make 'true' and 'false' more intuitively useable. ------------------------------------------------------------------------ r14029 | belugas | 2008-08-09 03:30:15 +0000 (Sat, 09 Aug 2008) | 1 line -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later. ------------------------------------------------------------------------ r14028 | belugas | 2008-08-09 02:54:06 +0000 (Sat, 09 Aug 2008) | 1 line -Fix(r14027): Wrong value for the multiline_skipping. Just the other way around. ------------------------------------------------------------------------ r14027 | belugas | 2008-08-09 02:11:46 +0000 (Sat, 09 Aug 2008) | 1 line -Codechange: Document a bit the DoDrawString function while removing yet som more magic numbers and one "false" colour ------------------------------------------------------------------------ r14026 | glx | 2008-08-08 15:49:16 +0000 (Fri, 08 Aug 2008) | 1 line -Cleanup (r13995, r14004): trailing whitespaces ------------------------------------------------------------------------ r14024 | smatz | 2008-08-08 15:02:21 +0000 (Fri, 08 Aug 2008) | 1 line -Fix (r14019) [YAPP]: YAPF also skips tunnels and bridges. Honor that in penalty calculations. (michi_cc) ------------------------------------------------------------------------ r14023 | smatz | 2008-08-08 14:58:27 +0000 (Fri, 08 Aug 2008) | 1 line -Fix (r13944) [YAPP]: If YAPF encountered a dead-end that had a signal on it, is could be falsely seen as a valid destination. (michi_cc) ------------------------------------------------------------------------ r14022 | smatz | 2008-08-08 13:53:06 +0000 (Fri, 08 Aug 2008) | 1 line -Fix (r13957) [YAPP]: Removing station tiles could produce stale reservations, too. (michi_cc) ------------------------------------------------------------------------ r14021 | smatz | 2008-08-08 13:29:18 +0000 (Fri, 08 Aug 2008) | 1 line -Fix (r13957) [YAPP]: Overbuilding station tiles with non-track tiles could produce stale reservations. (michi_cc) ------------------------------------------------------------------------ r14019 | rubidium | 2008-08-08 09:31:50 +0000 (Fri, 08 Aug 2008) | 2 lines -Fix [FS#2205]: game crash after order skip while waiting for free path (michi_cc). ------------------------------------------------------------------------ r14018 | peter1138 | 2008-08-08 06:02:06 +0000 (Fri, 08 Aug 2008) | 2 lines -Fix (r14017): Typos prevented compilation. ------------------------------------------------------------------------ r14017 | belugas | 2008-08-08 03:37:00 +0000 (Fri, 08 Aug 2008) | 2 lines -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button ------------------------------------------------------------------------ r14016 | belugas | 2008-08-08 02:28:28 +0000 (Fri, 08 Aug 2008) | 1 line -Codechange: Remove some magical numbers ------------------------------------------------------------------------ r14015 | peter1138 | 2008-08-07 18:26:13 +0000 (Thu, 07 Aug 2008) | 2 lines -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released. ------------------------------------------------------------------------ r14014 | peter1138 | 2008-08-07 18:11:09 +0000 (Thu, 07 Aug 2008) | 2 lines -Codechange: Add support for automatically sizing drop down lists to the widest list item. ------------------------------------------------------------------------ r14013 | rubidium | 2008-08-07 13:07:51 +0000 (Thu, 07 Aug 2008) | 2 lines -Fix [FS#2202]: do not allow extending signals by dragging in any direction other than the track direction. ------------------------------------------------------------------------ r14012 | peter1138 | 2008-08-07 07:48:57 +0000 (Thu, 07 Aug 2008) | 2 lines -Fix (r13936): Don't copy pre-signal type when dragging signals. ------------------------------------------------------------------------ r14011 | belugas | 2008-08-07 01:28:27 +0000 (Thu, 07 Aug 2008) | 2 lines -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? ------------------------------------------------------------------------ r14009 | peter1138 | 2008-08-06 20:14:21 +0000 (Wed, 06 Aug 2008) | 2 lines -Cleanup (r14008): Bad whitespace... ------------------------------------------------------------------------ r14008 | peter1138 | 2008-08-06 20:12:42 +0000 (Wed, 06 Aug 2008) | 2 lines -Fix (r14004): NewGRF preset drop down list not working ------------------------------------------------------------------------ r14007 | frosch | 2008-08-06 19:00:31 +0000 (Wed, 06 Aug 2008) | 1 line -Fix [FS#2098]: Notify vehicle windows when their internal state is botched up from outside. ------------------------------------------------------------------------ r14006 | frosch | 2008-08-06 18:57:37 +0000 (Wed, 06 Aug 2008) | 1 line -Codechange: Deduplicate some code. ------------------------------------------------------------------------ r14005 | smatz | 2008-08-06 15:52:04 +0000 (Wed, 06 Aug 2008) | 1 line -Codechange: minor coding style fix ------------------------------------------------------------------------ r14004 | peter1138 | 2008-08-06 07:10:40 +0000 (Wed, 06 Aug 2008) | 5 lines -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(). ------------------------------------------------------------------------ r14003 | belugas | 2008-08-06 04:01:07 +0000 (Wed, 06 Aug 2008) | 1 line -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls ------------------------------------------------------------------------ r14001 | smatz | 2008-08-05 13:25:49 +0000 (Tue, 05 Aug 2008) | 1 line -Fix (r13989): reading wrong variable, train crash on bridge crashes game ------------------------------------------------------------------------ r14000 | peter1138 | 2008-08-05 00:17:56 +0000 (Tue, 05 Aug 2008) | 2 lines -Codechange: Missing enum entries kind of defeat the point of the enum ------------------------------------------------------------------------ r13999 | rubidium | 2008-08-04 22:31:49 +0000 (Mon, 04 Aug 2008) | 2 lines -Fix [FS#2190]: crash when the AI tries to find the depot of an airport that doesn't have a depot. ------------------------------------------------------------------------ r13998 | rubidium | 2008-08-04 21:51:52 +0000 (Mon, 04 Aug 2008) | 2 lines -Fix [FS#2004]: MSVC can't handle changed files in the prebuild event, so make the version determination a separate subproject (michi_cc). ------------------------------------------------------------------------ r13997 | rubidium | 2008-08-04 19:07:37 +0000 (Mon, 04 Aug 2008) | 2 lines -Fix (r13988): in some cases no broadcast addresses would be found. ------------------------------------------------------------------------ r13996 | frosch | 2008-08-04 18:54:19 +0000 (Mon, 04 Aug 2008) | 1 line -Fix (r13845): Oilrigs from pre r13838 save games can have unknown water class. ------------------------------------------------------------------------ r13995 | rubidium | 2008-08-04 18:27:54 +0000 (Mon, 04 Aug 2008) | 2 lines -Fix (r13988): some warnings of the compile farm. ------------------------------------------------------------------------ r13994 | belugas | 2008-08-04 17:27:06 +0000 (Mon, 04 Aug 2008) | 1 line -Codechange: replace a few rogue magic numbers with Colours enum values ------------------------------------------------------------------------ r13993 | belugas | 2008-08-04 17:12:23 +0000 (Mon, 04 Aug 2008) | 1 line -Codechange: Associate TextColour values with comments of related values in _string_colormap table ------------------------------------------------------------------------ r13992 | rubidium | 2008-08-04 15:07:17 +0000 (Mon, 04 Aug 2008) | 2 lines -Fix [FS#2189]: the dedicated console removed any character that was not a printable ASCII character instead. Now it allows UTF8 formated strings too. ------------------------------------------------------------------------ r13991 | smatz | 2008-08-04 14:40:50 +0000 (Mon, 04 Aug 2008) | 1 line -Codechange: draw text effects after all other signs ------------------------------------------------------------------------ r13990 | glx | 2008-08-04 13:54:10 +0000 (Mon, 04 Aug 2008) | 1 line -Fix (r13988): win32 compilation failed ------------------------------------------------------------------------ r13989 | rubidium | 2008-08-04 13:15:15 +0000 (Mon, 04 Aug 2008) | 2 lines -Fix [FS#2186] (r13953): YAPP track reservation for crashed trains was broken for depots and wormholes (michi_cc). ------------------------------------------------------------------------ r13988 | rubidium | 2008-08-04 12:56:38 +0000 (Mon, 04 Aug 2008) | 2 lines -Codechange: move the to IP resolving functions to a separate file. ------------------------------------------------------------------------ r13987 | peter1138 | 2008-08-04 05:59:28 +0000 (Mon, 04 Aug 2008) | 2 lines -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. ------------------------------------------------------------------------ r13985 | smatz | 2008-08-03 20:50:12 +0000 (Sun, 03 Aug 2008) | 1 line -Fix (r13944): gcc 2.95 compilation ------------------------------------------------------------------------ r13984 | peter1138 | 2008-08-03 20:09:35 +0000 (Sun, 03 Aug 2008) | 2 lines -Codechange: Simplify industry legend on small map, by automatically splitting columns based on widget height. ------------------------------------------------------------------------ r13983 | frosch | 2008-08-03 19:04:11 +0000 (Sun, 03 Aug 2008) | 1 line -Fix (r13953) [YAPP]: Crashed trains can be on different trackbits. Make sure there is still a track reservation when one vehicle is cleaned up. ------------------------------------------------------------------------ r13982 | peter1138 | 2008-08-03 18:56:44 +0000 (Sun, 03 Aug 2008) | 2 lines -Fix (r13981): And then not enough was cleared... ------------------------------------------------------------------------ r13981 | peter1138 | 2008-08-03 18:51:13 +0000 (Sun, 03 Aug 2008) | 2 lines -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should. ------------------------------------------------------------------------ r13980 | peter1138 | 2008-08-03 18:18:36 +0000 (Sun, 03 Aug 2008) | 2 lines -Codechange: Turn small map legend while loop into a for-loop. ------------------------------------------------------------------------ r13979 | peter1138 | 2008-08-03 18:00:28 +0000 (Sun, 03 Aug 2008) | 2 lines -Codechange: Use widget dimensions instead of magic number incantations for limiting small map area. ------------------------------------------------------------------------ r13978 | peter1138 | 2008-08-03 17:36:39 +0000 (Sun, 03 Aug 2008) | 2 lines -Fix: Incorrect widget size. ------------------------------------------------------------------------ r13977 | peter1138 | 2008-08-03 17:35:08 +0000 (Sun, 03 Aug 2008) | 2 lines -Codechange: Let ResizeWindowForWidget() handle hidden (zero height or zero width) widgets. ------------------------------------------------------------------------ r13976 | frosch | 2008-08-03 17:16:39 +0000 (Sun, 03 Aug 2008) | 1 line -Fix (r13953) [YAPP]: A crashing train could sometimes free the reservation of another train. (assisted by michi_cc) ------------------------------------------------------------------------ r13975 | peter1138 | 2008-08-03 14:58:26 +0000 (Sun, 03 Aug 2008) | 2 lines -Codechange: Replace some globals used by the small map window with static members of the window. ------------------------------------------------------------------------ r13974 | frosch | 2008-08-03 14:16:57 +0000 (Sun, 03 Aug 2008) | 1 line -Fix [YAPP]: A train crash could lead to stale reservations. (michi_cc) ------------------------------------------------------------------------ r13973 | smatz | 2008-08-03 11:28:35 +0000 (Sun, 03 Aug 2008) | 1 line -Codechange [YAPP]: Improve the behavior when changing signals to not cause stale reservations. (michi_cc) ------------------------------------------------------------------------ r13972 | rubidium | 2008-08-03 08:25:26 +0000 (Sun, 03 Aug 2008) | 2 lines -Fix [FS#2180]: the timetable's "Clear Time" button didn't have any effect. ------------------------------------------------------------------------ r13971 | rubidium | 2008-08-03 08:20:04 +0000 (Sun, 03 Aug 2008) | 2 lines -Fix [YAPP]: segfault due to mixed up variables (michi_cc) ------------------------------------------------------------------------ r13970 | belugas | 2008-08-03 02:18:45 +0000 (Sun, 03 Aug 2008) | 4 lines -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis. Mostly forgotten ones. ------------------------------------------------------------------------ r13968 | glx | 2008-08-02 23:30:50 +0000 (Sat, 02 Aug 2008) | 1 line -Fix (r13923): 'cast from pointer to integer of different size' warning ------------------------------------------------------------------------ r13967 | rubidium | 2008-08-02 22:57:47 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc) ------------------------------------------------------------------------ r13966 | rubidium | 2008-08-02 22:57:18 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Bar level crossings upon path reservation. (michi_cc) ------------------------------------------------------------------------ r13965 | rubidium | 2008-08-02 22:57:03 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS reservation state). (michi_cc) ------------------------------------------------------------------------ r13964 | rubidium | 2008-08-02 22:56:50 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Check if a train needs servicing when reserving the next path segment. (michi_cc) ------------------------------------------------------------------------ r13963 | rubidium | 2008-08-02 22:56:35 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Reserve a track when entering a PBS block through a conventional signal. (michi_cc) ------------------------------------------------------------------------ r13962 | rubidium | 2008-08-02 22:56:21 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Do not reverse in front of red signals when inside a PBS block and reversing of stuck trains is disabled. (michi_cc) ------------------------------------------------------------------------ r13961 | rubidium | 2008-08-02 22:56:07 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Handle train reversing. (michi_cc) ------------------------------------------------------------------------ r13960 | rubidium | 2008-08-02 22:55:52 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Reserve a path when exiting a depot into a PBS block. (michi_cc) ------------------------------------------------------------------------ r13959 | rubidium | 2008-08-02 22:55:38 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Try to extend a train reservation as far as possible and only call into the pathfinder on track choices. (michi_cc) ------------------------------------------------------------------------ r13958 | rubidium | 2008-08-02 22:55:23 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Implement look-ahead for trains so they extend their reservation before reaching the end. (michi_cc) ------------------------------------------------------------------------ r13957 | rubidium | 2008-08-02 22:55:08 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc) ------------------------------------------------------------------------ r13956 | rubidium | 2008-08-02 22:54:53 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Function for getting the train holding a reserved path. (michi_cc) ------------------------------------------------------------------------ r13955 | rubidium | 2008-08-02 22:54:38 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Try to extend the path of a stuck train so it is able to continue. (michi_cc) ------------------------------------------------------------------------ r13954 | rubidium | 2008-08-02 22:54:23 +0000 (Sat, 02 Aug 2008) | 1 line -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) ------------------------------------------------------------------------ r13953 | rubidium | 2008-08-02 22:54:07 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Free track reservations of crashed trains. (michi_cc) ------------------------------------------------------------------------ r13952 | rubidium | 2008-08-02 22:53:51 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc) ------------------------------------------------------------------------ r13951 | rubidium | 2008-08-02 22:53:37 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: A train leaving a tile should unreserve the track it came from if it was reserved. (michi_cc) ------------------------------------------------------------------------ r13950 | rubidium | 2008-08-02 22:53:21 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Trains can now also be in a 'stuck' state when waiting on a path reservation. (michi_cc) ------------------------------------------------------------------------ r13949 | rubidium | 2008-08-02 22:53:05 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Declare the functions for processing conditional orders as non-static. (michi_cc) ------------------------------------------------------------------------ r13948 | rubidium | 2008-08-02 22:52:50 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Extend NPF with a function to find a safe tile and reserve a path. (michi_cc) ------------------------------------------------------------------------ r13947 | rubidium | 2008-08-02 22:52:36 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc) ------------------------------------------------------------------------ r13946 | rubidium | 2008-08-02 22:52:22 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Implement track reserving for NPF as well. (michi_cc) ------------------------------------------------------------------------ r13945 | rubidium | 2008-08-02 22:52:08 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Extend CFollowTrackT to not require a Vehicle when following rail. (michi_cc) ------------------------------------------------------------------------ r13944 | rubidium | 2008-08-02 22:51:53 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Add YAPF provider to find a safe tile and reserve a path. (michi_cc) ------------------------------------------------------------------------ r13943 | rubidium | 2008-08-02 22:51:38 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Reserved station tiles can now be penalized more in YAPF. This should help with spread out stations. (michi_cc) ------------------------------------------------------------------------ r13942 | rubidium | 2008-08-02 22:51:23 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc) ------------------------------------------------------------------------ r13941 | rubidium | 2008-08-02 22:51:07 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Added YAPP-related penalties to YAPF. (michi_cc) ------------------------------------------------------------------------ r13940 | rubidium | 2008-08-02 22:50:52 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: YAPF is now able to reserve the found path. (michi_cc) ------------------------------------------------------------------------ r13939 | rubidium | 2008-08-02 22:50:38 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Extend YAPF with the possibility to override the railtype info of the vehicle. (michi_cc) ------------------------------------------------------------------------ r13938 | rubidium | 2008-08-02 22:50:22 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Add the new signals to the build signal GUI. (michi_cc) ------------------------------------------------------------------------ r13937 | rubidium | 2008-08-02 22:50:04 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Don't cycle through two-sided PBS signals during build. (michi_cc) ------------------------------------------------------------------------ r13936 | rubidium | 2008-08-02 22:49:39 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Enable the auto-signal tool to build PBS signals and honor the default signal type. (michi_cc) ------------------------------------------------------------------------ r13935 | rubidium | 2008-08-02 22:49:23 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc) ------------------------------------------------------------------------ r13934 | rubidium | 2008-08-02 22:49:10 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Handle through signals in the pathfinders. (michi_cc) ------------------------------------------------------------------------ r13933 | rubidium | 2008-08-02 22:48:57 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Handle through and PBS signals correctly in the signal code. (michi_cc) ------------------------------------------------------------------------ r13932 | rubidium | 2008-08-02 22:48:43 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc) ------------------------------------------------------------------------ r13931 | rubidium | 2008-08-02 22:48:27 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Retain the reservation state when building/removing waypoints or level crossings. (michi_cc) ------------------------------------------------------------------------ r13930 | rubidium | 2008-08-02 22:48:14 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Clear track reservation when removing a rail track. (michi_cc) ------------------------------------------------------------------------ r13929 | rubidium | 2008-08-02 22:48:01 +0000 (Sat, 02 Aug 2008) | 1 line -Codechange [YAPP]: Reserving and unreserving of single tracks is now possible. (michi_cc) ------------------------------------------------------------------------ r13928 | rubidium | 2008-08-02 22:47:48 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Function for getting the path reservation state of any tile. (michi_cc) ------------------------------------------------------------------------ r13927 | rubidium | 2008-08-02 22:47:34 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc) ------------------------------------------------------------------------ r13926 | rubidium | 2008-08-02 22:47:20 +0000 (Sat, 02 Aug 2008) | 1 line -Add [YAPP]: Add map accessors for path reservations. (michi_cc) ------------------------------------------------------------------------ r13924 | glx | 2008-08-02 19:48:54 +0000 (Sat, 02 Aug 2008) | 1 line -Fix (r11531): determineversion.vbs could fail to find the right version with hg ------------------------------------------------------------------------