Commit Graph

410 Commits

Author SHA1 Message Date
terkhen 12c86a1391 (svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache. 2010-12-14 21:28:45 +00:00
terkhen 79e2b3153d (svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class. 2010-12-14 21:26:03 +00:00
terkhen 96b98b392a (svn r21515) -Codechange: Use cached_total_length where appropiate. 2010-12-14 21:24:51 +00:00
rubidium ea68039718 (svn r21416) -Codechange: limit vehicle name by amount of characters, not bytes 2010-12-05 22:25:49 +00:00
terkhen 75f86a7a21 (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 2010-11-27 22:52:12 +00:00
alberth f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
terkhen c96cb9ce37 (svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers. 2010-11-16 20:56:04 +00:00
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
terkhen 18e3a3ddfc (svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache. 2010-11-06 13:05:11 +00:00
terkhen 25d1b2f54b (svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time. 2010-11-06 13:03:17 +00:00
terkhen c8a56f17f8 (svn r21097) -Codechange: Unify cached max speed for all vehicle types. 2010-11-06 12:53:31 +00:00
terkhen 78d0a1cb1a (svn r21096) -Fix: Display the real max speed for aircrafts instead of always using the engine value. 2010-11-06 12:50:34 +00:00
belugas fc0e64586c (svn r21083) -Codechange: Limit the number of exceptions in the refittable cargo list to 7 (Eddi) 2010-11-04 19:48:25 +00:00
planetmaker c2a7b82a9f (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small 2010-10-19 21:48:20 +00:00
terkhen 4eaf01fcdb (svn r20921) -Fix [FS#4160]: Refit costs were not shown for long cargo names. 2010-10-15 10:22:04 +00:00
rubidium 7f8b490a21 (svn r20777) -Codechange: make VehicleListIdentifier a variable of BaseVehicleList and use that instead of "dereferencing" the window number and storing some information twice 2010-09-09 14:40:39 +00:00
rubidium 4b605f51ab (svn r20773) -Codechange: use packed VehicleListIdentifiers for some commands as well 2010-09-08 21:40:00 +00:00
rubidium f5128695c5 (svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers 2010-09-08 21:37:13 +00:00
rubidium 881c6c679f (svn r20771) -Add: concept of vehicle list identifiers to identify a vehicle list instead of a string of parameters 2010-09-08 21:28:50 +00:00
rubidium 0e840f7360 (svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters 2010-09-08 21:14:41 +00:00
rubidium ea4b40704b (svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot 2010-09-08 21:02:12 +00:00
rubidium 9badab6454 (svn r20768) -Codechange: unify send-to-depot commands 2010-09-08 18:55:58 +00:00
smatz fd54943c7a (svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window 2010-09-06 14:14:09 +00:00
frosch 48767d1bef (svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news. 2010-09-02 20:00:48 +00:00
frosch 48d8f16653 (svn r20719) -Codechange: Remove some hardcoded iconsizes. 2010-09-02 19:34:44 +00:00
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium 926594b599 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 2010-08-18 20:48:38 +00:00
rubidium 019878118d (svn r20545) -Codechange: make sure an OrderBackup gets cleared when the depot it belongs to gets removed, the depot window gets closed or when another vehicle gets sold in a depot 2010-08-18 18:52:16 +00:00
rubidium 38ca44594f (svn r20539) -Codechange: make order backups more self-contained. 2010-08-18 15:15:59 +00:00
terkhen 7aeeb8ed35 (svn r20485) -Fix [FS#4012]: Sorting of refittable cargos was wrong for trains. 2010-08-13 14:28:51 +00:00
terkhen ffcd869dda (svn r20484) -Codechange: Move BuildRefitList to the RefitWindow class. 2010-08-13 14:26:29 +00:00
terkhen 144a7cab1a (svn r20483) -Doc: RefitOption operators. 2010-08-13 14:24:47 +00:00
frosch d496ec65b9 (svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked. 2010-08-12 16:44:51 +00:00
frosch b9efd3c04e (svn r20468) -Fix: Vehicledetails of non-trains accessed a non existing scrollbar, though values were unused. 2010-08-12 13:26:44 +00:00
frosch 9e538acc03 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 2010-08-12 09:16:43 +00:00
frosch 71ca58c2bb (svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12 08:37:01 +00:00
frosch 10339c60c0 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 2010-08-12 06:44:45 +00:00
frosch edf9b36b81 (svn r20294) -Fix [FS#3996](r20281): 'break' got in wrong position. 2010-08-01 23:49:03 +00:00
terkhen 80c43f52e8 (svn r20289) -Codechange: Unify fall through coding style. 2010-08-01 20:52:11 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
rubidium 0c54c242e2 (svn r20244) -Fix: the caption of the "Available vehicle" lists was black, whereas for building those vehicles, which uses the exact same window, it was white. 2010-07-30 12:26:58 +00:00
alberth 2dd77d0ef9 (svn r20241) -Codechange: Move variable declarations to their first use. 2010-07-30 10:39:24 +00:00
terkhen 88ca183191 (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 2010-07-29 14:26:28 +00:00
alberth 4203e641f8 (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 2010-07-26 13:08:48 +00:00
frosch ec4fa160e9 (svn r20174) -Codechange [FS#3955]: Allow horizontal resizing for all vehicle lists. 2010-07-17 15:06:28 +00:00
frosch be7a5588fa (svn r20173) -Codechange: Make the normal vehiclelist fit the longest action dropdown text. 2010-07-17 15:03:07 +00:00
frosch f06560ad45 (svn r20172) -Codechange: Use BaseVehicleListWindow::BuildActionDropdownList() also for the normal vehicle list. 2010-07-17 14:58:35 +00:00
frosch 240e8df052 (svn r20171) -Fix: Make the group list action dropdown also use vehicletype-specific texts like the normal vehicle list. 2010-07-17 14:53:46 +00:00
frosch ce480fb4b5 (svn r20170) -Codechange: Add BaseVehicleListWindow::GetActionDropdownSize(). 2010-07-17 14:47:54 +00:00