summaryrefslogtreecommitdiff
path: root/train_gui.c
AgeCommit message (Collapse)Author
2005-01-04(svn r1380) -Fix: missed widget fixes; thanks Jango and TestMan57darkvater
2005-01-04(svn r1379) -Fix: various GUI glitches. Added default sizes to various ↵darkvater
widgets. Sticky/Resize- and Scrollbar must be 11 pixels wide, Horizontal scrollbar 11 pixels high, caption must be 13 pixels. I hope I didn't forget any widgets, the game will assert for that so report them to me!
2005-01-04(svn r1372) -Fix: fixed some GUI glitches introduced with resize-buttonstruelight
2005-01-03(svn r1359) Fix typos in last committron
2005-01-03(svn r1358) Assert bounds of depot list when searching for a depottron
2005-01-03(svn r1348) -Feature: resizable windows. Read the comment in window.h to ↵truelight
find out how the system works. All useful windows are already made resizable. Enjoy :) -Fix: fixed some GUI-glitches and flaws along the way
2005-01-02(svn r1323) Adding autoreplace featurebjarni
This feature works much like autorenew, but it will get you a new engine type instead of a new one of the same type. Once ordered, it will automatically replace the engines while they visits a depot. The GUI for setting this up have been added on the vehicle overview windows Note: autorenew is now autoreplace, but to the same engine type Nice new features, that was added to make this possible - windows can now have two independant vertical scrollbars - CMD_SHOW_NO_ERROR have been added as a flag for DoCommandP. It will make it do the action instead of showing the red box with estimated costs even if shift is pressed - fixed problem where enginetypes where not initialized when loading a game. It's now done in InitializeGame()
2004-12-22(svn r1232) Plug memory leaktron
2004-12-22(svn r1213) -Feature: Stickified vehicle listsdarkvater
2004-12-21(svn r1211) -Feature: Introduce sticky windows to all vehicle windows...Just ↵darkvater
make sure you do not sticky more than 23 at a time. Also a lot of places in the code invalidated the 'status bar' of the vehicle, referring to it as widget 4. This is now widget 5 and has been #definitized
2004-12-19(svn r1179) Fix: Tooltips for vehicle list sortingdominik
This has gotta be the greatest kick for Moriarty!
2004-12-15(svn r1117) Move map arrays and some related macros into their own files ↵tron
map.c and map.h
2004-12-12(svn r1025) -Fix: [Network] [ 1083687 ] Sending to depot caused desync ↵truelight
because the new pathfinder uses a random, and the goto_depot uses the new pathfinder (if enabled)
2004-12-10(svn r1009) -Feature: per-station vehicle liststron
This adds a little button per vehicle class to the station window which opens a list of all vehicles that have this station on their schedule. As side effect this gets rid of some global variables.
2004-12-08(svn r984) -Fix: deleted a debug level 0 line that was introduced in ↵truelight
revision 978
2004-12-08(svn r978) Fixed an endianess issue with the new Order system. Thanks to ↵Celestar
Bjarni, Oskar and Tron
2004-12-05(svn r955) Replace uint16 for orders with struct Ordertron
This adds no functionality, but is a stepping stone for future improvement (like 16bit order indices) and is easier to read. This changes preserves binary compatibility wrt savegames.
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-12-04(svn r924) Use RailVehInfo() instead of &_rail_vehicle_info[]tron
2004-12-04(svn r923) Forgot s/rail_vehinfo/RailVehInfo/tron
2004-12-03(svn r920) Replace vehicle info macros with inline functions and add asserts ↵tron
to check limits
2004-12-02(svn r901) Small step in the process to clean up the DPARAM mess:tron
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest) - use inline functions instead of macros - add assert()s to check for buffer overruns
2004-11-29(svn r854) -Fix [1070274] Invisible trains. Weird macros and MSVC optimizing ↵darkvater
don't always mix. (Tron)
2004-11-27(svn r842) -Fix: [ 985925 ] Start/stop flag in train depots always works, ↵tron
regardless of the horizontal scroll position
2004-11-25(svn r815) Include strings.h only in the files which need it.tron
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-19(svn r677) -newgrf: Fix some custom electric trains appearing in maglev ↵darkvater
depots (pasky).
2004-11-14(svn r617) -newgrf: Support for parameter 0x8E (train Y-pitch in info ↵darkvater
windows) both setting and testing. This should fix displaced wagons in DBSetXL as reported by DarkVater. (pasky)
2004-11-14(svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name ↵darkvater
actually makes some sense and is also compatible with TTDPatch (pasky).
2004-11-13(svn r572) -newgrf: Support for custom (newGRF-yielded) refit masks for ↵darkvater
trains and aircrafts (pasky).
2004-11-06(svn r514) -Fix: [1053397] Refit Train Window Stays Opentron
2004-09-14(svn r244) -Fix: Stations were not sorted for non-player-0 playersdarkvater
-Fix: Correctly resorting vehicle list of player when the list of another player is open.
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-09-07(svn r177) -Fix: padded out Widget code to solve warnings on C99 compiler (Tron)darkvater
-Fix: added WIDGETS_END macro for WWT_LAST which does this for all last widget-types
2004-09-07(svn r175) -Fix: [1023771] inconsistent/missing stations in station list. ↵darkvater
Forgot to change owner-sort after changing function. -Codechange: some more asserts to vehicle-sorts to quickly find any possible problems.
2004-09-06(svn r169) -Fix: move around sort-widgets a bit so it looks more naturaldarkvater
-Fix: savegames are sorted with newest date first by default -Codechange: refine sorter functions -Fix: fixed linux warnings (tokai)
2004-09-06(svn r165) -Feature: Option to sort vehicles in vehicle-list window by ↵darkvater
different criteria. Total independent sort for all types and players. Periodic resort of list every 10 TTD days. Thank you for your graphical inspiration follow and buxo (since none of you provided any code). -Fix: Sorter icon pointing down 'v' sorts in every window lowest value first, '^' highest value first -CodeChange: move Dropdownlist from settings_gui.c to widget.c. More in place there.
2004-09-04(svn r157) -Feature: [1009708] Percent-based service intervals. Send a ↵darkvater
vehicle to depot after it has lost X% of its reliability (mivlad)
2004-08-11(svn r23) -Some omments on the code (blathijs)darkvater
2004-08-10(svn r11) Feature: Copy/share orders now works from ship depot window for ↵dominik
ships and hangar window for aircraft
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight