rubidium
|
f438700402
|
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
|
17 years ago |
rubidium
|
4a11ebe76f
|
(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.
|
17 years ago |
rubidium
|
23fc96c3e8
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
17 years ago |
rubidium
|
402a1e24ba
|
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
|
17 years ago |
rubidium
|
9bf519f26b
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
17 years ago |
rubidium
|
e6c944a6c4
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
17 years ago |
rubidium
|
d03994098b
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
17 years ago |
bjarni
|
9f5f4e59cd
|
(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID
|
17 years ago |
rubidium
|
24b5c91039
|
(svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
|
17 years ago |
rubidium
|
1dcf912f06
|
(svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth.
|
17 years ago |
rubidium
|
31411d4755
|
(svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob.
|
17 years ago |
rubidium
|
9d8fa486af
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
17 years ago |
rubidium
|
02cdf01507
|
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
17 years ago |
rubidium
|
af3723e217
|
(svn r12687) -Change: show when a vehicle is actually leaving the station instead of loading/unloading.
|
17 years ago |
rubidium
|
f1cd7ef5ee
|
(svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness.
|
17 years ago |
rubidium
|
fb1c4eccd8
|
(svn r12593) -Codechange: hide Order's flags in most of the code.
|
17 years ago |
rubidium
|
d6623cf654
|
(svn r12588) -Codechange: do not access the destination of an order directly.
|
17 years ago |
rubidium
|
5b47f81b0f
|
(svn r12584) -Codechange: do not access the order type directly.
|
17 years ago |
rubidium
|
ef2be7d0fc
|
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
17 years ago |
rubidium
|
2edd403656
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
17 years ago |
rubidium
|
4a1035ab95
|
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
|
17 years ago |
rubidium
|
4c63dd074e
|
(svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h.
|
17 years ago |
rubidium
|
e9dad7637e
|
(svn r12441) -Feature: open the time table when pressing the order button while pressing the CTRL key. Patch by Phil Sophus.
|
17 years ago |
smatz
|
620695587d
|
(svn r12324) -Fix (r6789): vehicles could be sorted in a wrong order when a vehicle name changed - cached name was not invalidated
|
17 years ago |
smatz
|
8dacca9a71
|
(svn r12323) -Fix [FS#1821](r6789): vehicle sorting by name was broken, it was comparing two the same strings (when caching was not used)
|
17 years ago |
glx
|
62d9bf8d0f
|
(svn r12261) -Fix [FS#1805]: autoreplace did not update vehicle index for timetable window
|
17 years ago |
smatz
|
a190606f2e
|
(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
|
17 years ago |
smatz
|
a0ddc43e92
|
(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
|
17 years ago |
peter1138
|
b7cd791988
|
(svn r12133) -Fix: Vehicle sorting by max speed did not work properly for trains. Instead of trying to work it out again, just use the cached values...
|
17 years ago |
maedhros
|
21eef65e77
|
(svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
|
17 years ago |
smatz
|
1d59439166
|
(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
|
17 years ago |
peter1138
|
68707808c0
|
(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.
|
17 years ago |
peter1138
|
307b0e8e7a
|
(svn r11912) -Codechange: use dropdown widget for autoreplace, station builder and (second?) vehicle list windows
|
17 years ago |
frosch
|
35f3421842
|
(svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically a duplicate of ShowReplaceGroupVehicleWindow().
|
17 years ago |
rubidium
|
576f8ad93e
|
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
17 years ago |
peter1138
|
e4c05f8d78
|
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
17 years ago |
rubidium
|
dc87b05e8c
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |
rubidium
|
d4e6a6bf57
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
17 years ago |
peter1138
|
ab8382c0db
|
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
17 years ago |
rubidium
|
ac528411df
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
0e517fe023
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
17 years ago |
rubidium
|
a3ccdcea36
|
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
|
17 years ago |
rubidium
|
38115acf5a
|
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
|
17 years ago |
rubidium
|
a8a3a7e3f2
|
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
|
17 years ago |
peter1138
|
fa83291a76
|
(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.
|
17 years ago |
rubidium
|
384503e7d3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |
rubidium
|
b9046c97fb
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
17 years ago |
rubidium
|
429521a7d1
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
17 years ago |
rubidium
|
bf98e25e43
|
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
|
17 years ago |
rubidium
|
8f0e68285b
|
(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.
|
17 years ago |