peter1138
|
38be279d3a
|
(svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget
|
2008-03-15 21:35:48 +00:00 |
|
smatz
|
9bdb194b2a
|
(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
|
2008-02-20 17:06:58 +00:00 |
|
smatz
|
d7a72c7002
|
(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC)
|
2008-02-17 12:21:05 +00:00 |
|
smatz
|
fe48d0be21
|
(svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
|
2008-02-13 19:24:40 +00:00 |
|
peter1138
|
04da1e1d45
|
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
2008-01-18 10:36:55 +00:00 |
|
peter1138
|
727d07c67e
|
(svn r11904) -Codechange: use dropdown widget in 3 more windows, build vehicle, group vehicle list and station list.
|
2008-01-17 18:49:39 +00:00 |
|
peter1138
|
41df004043
|
(svn r11892) -Fix (r11879): View switched from ungrouped to all vehicles as ungrouped is not technically a valid group, and ensure dropdown is removed
on any click in the window.
|
2008-01-17 13:37:28 +00:00 |
|
peter1138
|
e2724bed6c
|
(svn r11880) -Codechange: Generate vehicle group action dropdown dynamically, and assign an enum for the function return codes.
|
2008-01-16 18:25:23 +00:00 |
|
peter1138
|
389f8e0d8f
|
(svn r11879) -Fix: Only update group action drop down list when clicking on the dropdown text/button. Other times is not needed and caused a double free.
|
2008-01-16 17:43:46 +00:00 |
|
peter1138
|
c2ae2334ec
|
(svn r11878) -Fix: Crash in MP in vehicle group window if the currently selected group is deleted by another player.
|
2008-01-16 16:52:50 +00:00 |
|
peter1138
|
1fa2285327
|
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
2008-01-14 16:10:58 +00:00 |
|
rubidium
|
90acd52f22
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
2008-01-13 01:21:35 +00:00 |
|
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
2008-01-12 14:10:35 +00:00 |
|
rubidium
|
c004cc1fd9
|
(svn r11801) -Codechange: remove some unneeded includes from some header files.
|
2008-01-09 21:27:39 +00:00 |
|
rubidium
|
64d691bacc
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
2008-01-09 09:45:45 +00:00 |
|
rubidium
|
b09d957f31
|
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
|
2008-01-07 14:23:25 +00:00 |
|
rubidium
|
e2f7ec1d3e
|
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
|
2008-01-07 09:19:53 +00:00 |
|
peter1138
|
890296c125
|
(svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so that news pop-ups and the about window still progress. For other windows the events are ignored when paused.
|
2008-01-01 22:34:00 +00:00 |
|
rubidium
|
722613f7f3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
2007-12-27 13:35:39 +00:00 |
|
rubidium
|
db73addb43
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
2007-12-26 13:50:40 +00:00 |
|
rubidium
|
81bf9f8503
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
2007-12-25 11:26:07 +00:00 |
|
rubidium
|
00c9d3ef20
|
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
|
2007-12-25 09:48:53 +00:00 |
|
rubidium
|
1f6043458c
|
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
|
2007-12-22 23:30:28 +00:00 |
|
rubidium
|
766551b0bc
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
2007-12-21 21:50:46 +00:00 |
|
rubidium
|
8427b8bad2
|
(svn r11675) -Codechange: split the string types from the string functions.
|
2007-12-21 19:49:27 +00:00 |
|
smatz
|
33c86f83e2
|
(svn r11671) -Fix: sometimes a vehicle was selected in the vehicle list when it was opened
|
2007-12-20 22:45:56 +00:00 |
|
rubidium
|
2cf7d5b2cb
|
(svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
|
2007-12-19 20:45:46 +00:00 |
|
rubidium
|
8bfbfd0031
|
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
2007-12-19 19:44:29 +00:00 |
|
glx
|
bfda3c82f1
|
(svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now done in *allocT functions.
|
2007-12-08 15:47:23 +00:00 |
|
glx
|
5da6900c3f
|
(svn r11561) -Fix [FS#1504] (r11463): group list was not updated when removing the last group
|
2007-12-02 20:13:12 +00:00 |
|
rubidium
|
92cb0e45ca
|
(svn r11555) -Codechange: use the new members introduced in r11551.
|
2007-12-02 14:29:48 +00:00 |
|
rubidium
|
2bfe2a01d5
|
(svn r11478) -Fix: two small layout issues with the vehicle grouping GUI.
|
2007-11-19 19:54:23 +00:00 |
|
rubidium
|
67bbd8f7ab
|
(svn r11463) -Fix: some OSes seem not to handle allocating 0 bytes in the same manner as others do.
|
2007-11-18 16:41:25 +00:00 |
|
rubidium
|
72a59fade2
|
(svn r11441) -Fix [FS#1443]: manage list dropdown menu did not "disappear" when the all vehicles are removed from the "current" group.
|
2007-11-15 19:18:52 +00:00 |
|
rubidium
|
ecdb16de42
|
(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.
|
2007-11-15 18:28:00 +00:00 |
|
belugas
|
e2c0f1faf7
|
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|
2007-11-04 00:08:57 +00:00 |
|
rubidium
|
1f1ce4ac5b
|
(svn r11067) -Codechange: also make it possible to use the advanced vehicle list for other players. Patch by SmatZ.
|
2007-09-09 10:34:32 +00:00 |
|
rubidium
|
c2dcccae16
|
(svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot.
|
2007-08-29 21:49:08 +00:00 |
|
rubidium
|
a6a9968d16
|
(svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.
|
2007-08-29 20:50:58 +00:00 |
|
rubidium
|
34545a381a
|
(svn r10820) -Codechange: make negative currencies red and restore the colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
|
2007-08-07 15:20:31 +00:00 |
|
rubidium
|
a2d6ed7347
|
(svn r10780) -Fix: assertion when opening the advanced vehicle list with the shortcut when being a spectator.
|
2007-08-04 01:25:44 +00:00 |
|
rubidium
|
99da45988a
|
(svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).
|
2007-08-02 21:19:07 +00:00 |
|
rubidium
|
260932d8ea
|
(svn r10710) -Codechange: allow automatic downsizing of the group window. Same as idea as for the previous commits, i.e. you could already do so but the button would be out of reach.
|
2007-07-27 22:13:12 +00:00 |
|
rubidium
|
13ab17bca8
|
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
|
2007-07-27 12:49:04 +00:00 |
|
rubidium
|
13692798e6
|
(svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by Matthias Wolf.
|
2007-07-14 23:10:27 +00:00 |
|
rubidium
|
c0e341ee05
|
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
|
2007-07-01 19:11:47 +00:00 |
|
peter1138
|
8ee9e8bf1e
|
(svn r10323) -Codechange: reference company name, number and player (president) name
by index
|
2007-06-25 13:30:38 +00:00 |
|
peter1138
|
59dd90b76a
|
(svn r10316) -Codechange: (consistently) use index to refer to group names. Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id.
|
2007-06-25 07:33:40 +00:00 |
|
rubidium
|
d0fa4eb9de
|
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
|
2007-06-21 17:25:17 +00:00 |
|
rubidium
|
1b27095c83
|
(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
|
2007-06-21 14:54:51 +00:00 |
|