Commit Graph

9843 Commits

Author SHA1 Message Date
smatz dcc10a3b8f (svn r13985) -Fix (r13944): gcc 2.95 compilation 2008-08-03 20:50:12 +00:00
peter1138 63cd8fc24f (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 628723d45c (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 1f4b89ff4b (svn r13982) -Fix (r13981): And then not enough was cleared... 2008-08-03 18:56:44 +00:00
peter1138 e434323d38 (svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should. 2008-08-03 18:51:13 +00:00
peter1138 e1451e1124 (svn r13980) -Codechange: Turn small map legend while loop into a for-loop. 2008-08-03 18:18:36 +00:00
peter1138 29ba35df7b (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 65f26bb737 (svn r13978) -Fix: Incorrect widget size. 2008-08-03 17:36:39 +00:00
peter1138 92b63e38f0 (svn r13977) -Codechange: Let ResizeWindowForWidget() handle hidden (zero height or zero width) widgets. 2008-08-03 17:35:08 +00:00
frosch b92c4cfc92 (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 a5453e43b1 (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 983e297ff0 (svn r13974) -Fix [YAPP]: A train crash could lead to stale reservations. (michi_cc) 2008-08-03 14:16:57 +00:00
smatz 9a1958be91 (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 6639c496c3 (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 13dee60ae1 (svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc) 2008-08-03 08:20:04 +00:00
belugas 96892e081a (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 87c3599895 (svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning 2008-08-02 23:30:50 +00:00
rubidium cc48f3d6f9 (svn r13967) -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc) 2008-08-02 22:57:47 +00:00
rubidium bba8ff290e (svn r13966) -Codechange [YAPP]: Bar level crossings upon path reservation. (michi_cc) 2008-08-02 22:57:18 +00:00
rubidium 88b1ee0b43 (svn r13965) -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS reservation state). (michi_cc) 2008-08-02 22:57:03 +00:00
rubidium 1e2c61360b (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 47a5faf874 (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 5c9bb1bbd6 (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 db637a2b7f (svn r13961) -Add [YAPP]: Handle train reversing. (michi_cc) 2008-08-02 22:56:07 +00:00
rubidium 9e91bb4b33 (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 4339948b1f (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 16ab0d84bb (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 753da05bc6 (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 bce6f7b41c (svn r13956) -Add [YAPP]: Function for getting the train holding a reserved path. (michi_cc) 2008-08-02 22:54:53 +00:00
rubidium bd0a420744 (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 e9b62103e4 (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
rubidium d06fb949ff (svn r13953) -Add [YAPP]: Free track reservations of crashed trains. (michi_cc) 2008-08-02 22:54:07 +00:00
rubidium 10d8fb6456 (svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc) 2008-08-02 22:53:51 +00:00
rubidium 33898d49bb (svn r13951) -Codechange [YAPP]: A train leaving a tile should unreserve the track it came from if it was reserved. (michi_cc) 2008-08-02 22:53:37 +00:00
rubidium e9c33fb288 (svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when waiting on a path reservation. (michi_cc) 2008-08-02 22:53:21 +00:00
rubidium 0dfaa88c1e (svn r13949) -Codechange [YAPP]: Declare the functions for processing conditional orders as non-static. (michi_cc) 2008-08-02 22:53:05 +00:00
rubidium a706766690 (svn r13948) -Add [YAPP]: Extend NPF with a function to find a safe tile and reserve a path. (michi_cc) 2008-08-02 22:52:50 +00:00
rubidium 4f5f3846a0 (svn r13947) -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc) 2008-08-02 22:52:36 +00:00
rubidium cd041b6944 (svn r13946) -Add [YAPP]: Implement track reserving for NPF as well. (michi_cc) 2008-08-02 22:52:22 +00:00
rubidium 773f19da05 (svn r13945) -Codechange [YAPP]: Extend CFollowTrackT to not require a Vehicle when following rail. (michi_cc) 2008-08-02 22:52:08 +00:00
rubidium 53cc7e8a5c (svn r13944) -Add [YAPP]: Add YAPF provider to find a safe tile and reserve a path. (michi_cc) 2008-08-02 22:51:53 +00:00
rubidium 2b153abd93 (svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized more in YAPF. This should help with spread out stations. (michi_cc) 2008-08-02 22:51:38 +00:00
rubidium ecc509195a (svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc) 2008-08-02 22:51:23 +00:00
rubidium 8c7983727e (svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. (michi_cc) 2008-08-02 22:51:07 +00:00
rubidium abc46b1e86 (svn r13940) -Add [YAPP]: YAPF is now able to reserve the found path. (michi_cc) 2008-08-02 22:50:52 +00:00
rubidium c91c12adde (svn r13939) -Add [YAPP]: Extend YAPF with the possibility to override the railtype info of the vehicle. (michi_cc) 2008-08-02 22:50:38 +00:00
rubidium 908591b40a (svn r13938) -Codechange [YAPP]: Add the new signals to the build signal GUI. (michi_cc) 2008-08-02 22:50:22 +00:00
rubidium 3e055b32bf (svn r13937) -Codechange [YAPP]: Don't cycle through two-sided PBS signals during build. (michi_cc) 2008-08-02 22:50:04 +00:00
rubidium 07a43863c4 (svn r13936) -Codechange [YAPP]: Enable the auto-signal tool to build PBS signals and honor the default signal type. (michi_cc) 2008-08-02 22:49:39 +00:00
rubidium 60006ad24c (svn r13935) -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc) 2008-08-02 22:49:23 +00:00