Peter Nelson
|
7385e780ac
|
Cleanup: nested_array should not be accessed directly.
Replace accesses with GetWidget() as documented.
|
3 years ago |
glx22
|
5799402f7a
|
Codechange: Rename window related DeleteXXX to match new behaviour
|
3 years ago |
glx22
|
994bf19aef
|
Fix f6d5c01: Delay deletion when closing windows
|
3 years ago |
Rubidium
|
bb9121dbd4
|
Fix: comparison of narrow type to wide type in loop (potential for infinite loops)
|
3 years ago |
Charles Pigott
|
6af49b7885
|
Fix #8724: Got wrong DepotID/StationID for airports, causing crash
|
4 years ago |
Charles Pigott
|
3af407340e
|
Fix #8349: Close depot vehicle list windows when closing the depot window
|
4 years ago |
frosch
|
5bfcd742b8
|
Change: Relocate rename and location buttons in all windows.
|
4 years ago |
Charles Pigott
|
9b800a96ed
|
Codechange: Remove min/max functions in favour of STL variants (#8502)
|
4 years ago |
TechGeekNZ
|
a10013dd00
|
Codechange: Spell 'Viewport' consistently
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
|
4 years ago |
glx
|
1f6b3a37f9
|
Codechange: Replace FOR_ALL_ENGINES with range-based for loops
|
5 years ago |
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
5 years ago |
glx22
|
b3fd787959
|
Fix #7188: check the validity of command callback for scripts (#7701)
|
5 years ago |
Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
6 years ago |
glx22
|
66dd7c3879
|
Fix: MSVC warnings (#7423)
|
6 years ago |
Henry Wilson
|
a690936ed7
|
Codechange: Replace SmallVector::Length() with std::vector::size()
|
6 years ago |
peter1138
|
317f69c152
|
Codechange: Use override specifier in Window-derived classes.
|
6 years ago |
Alexander Weiss
|
b3dc90af58
|
Change: Clone tool in depot window now behaves like clone button in vehicle window. Keep the tool active when share-cloning. Open the vehicle GUI when copy-cloning. (#6754)
|
6 years ago |
frosch
|
42392fd7b5
|
(svn r27938) -Fix (r27899): When scrolling in the train depot, also scroll the tile separators.
|
7 years ago |
frosch
|
c14f23a03d
|
(svn r27937) -Change: When train depots have a horizontal scrollbar, allow scrolling 1 tile beyond the longest train, so you can actually attach a wagon at the end.
|
7 years ago |
frosch
|
61c68f906d
|
(svn r27899) -Feature: Draw vertical separators at tile distance in the train depot GUI. This only applies if all vehicles use consistent lengths, i.e. either if only using default vehicles, or if only using NewGRF vehicles with 32px reference width. (based on patch by Wolf01)
|
7 years ago |
frosch
|
b4b98e5165
|
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
|
7 years ago |
frosch
|
ddc9205212
|
(svn r27630) -Codechange: Deduplicate code to attach vehicle to cursor.
|
8 years ago |
frosch
|
3cb7d9703b
|
(svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple sprites.
|
8 years ago |
frosch
|
7d4754a4f8
|
(svn r27583) -Fix [FS#6415]: Do not decrease the column width of depot windows when vehicles with high unitnumbers leave. (Airbus)
|
8 years ago |
alberth
|
3ccfc954f3
|
(svn r27450) -Feature[FS#6391](r27446): Lower the sell-chain button in the train depot GUI while dragging a vehicle over it. (Eearslya)
|
9 years ago |
frosch
|
f6891ac30e
|
(svn r27446) -Feature: Lower the sell-vehicle button in the depot GUI while dragging a vehicle over it. (Eearslya)
|
9 years ago |
frosch
|
a8080b6256
|
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
|
10 years ago |
frosch
|
3bc7ee3ab7
|
(svn r27133) -Fix: Dragging of free wagons in depot failed with GUI zoom.
|
10 years ago |
rubidium
|
deca49f4c6
|
(svn r27014) -Fix [FS#6102]: unit number was not always fully shown in depots
|
10 years ago |
peter1138
|
ce9fab58bc
|
(svn r26951) -Codechange: Do the GUI-scale dance for vehicle, depot, and purchase lists.
|
10 years ago |
rubidium
|
0463dbdc9e
|
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
11 years ago |
rubidium
|
a399fc667c
|
(svn r26106) -Codechange: document fall through explicitly
|
11 years ago |
frosch
|
3a81868518
|
(svn r25548) -Fix [FS#5629] (r25537): Removed too much code and forgot some other places.
|
11 years ago |
frosch
|
43ec0bf0c1
|
(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size.
|
11 years ago |
frosch
|
98fdd20f84
|
(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX widgets.
|
11 years ago |
frosch
|
ce110eed32
|
(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all of them.
|
11 years ago |
frosch
|
4e4e635916
|
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
|
12 years ago |
frosch
|
8157a8afd8
|
(svn r25290) -Add: Assign string names to notable windows.
|
12 years ago |
frosch
|
56e4a8c4d6
|
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
|
12 years ago |
frosch
|
5eddbb338b
|
(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
|
12 years ago |
frosch
|
c3832ffb7f
|
(svn r24955) -Change (r24808) [FS#4458]: Revert to opening the vehicle GUI again when cloning vehicles using the clone-button from the depot GUI. This button cannot be used for sequential cloning, so the argument about opening many windows does not hold as it does for the clone button from the vehicle GUI.
|
12 years ago |
planetmaker
|
c24374f99c
|
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
|
12 years ago |
frosch
|
1e30884201
|
(svn r24854) -Fix (r24839): Only consider vehicles available in the climate for purchase/depot cell size.
|
12 years ago |
michi_cc
|
245e32a10e
|
(svn r24839) -Feature [FS#5271]: [NewGRF] Support oversized purchase list sprites. (Based on patch by Eddi)
|
12 years ago |
frosch
|
8872ed12ff
|
(svn r24808) -Feature(ette) [FS#4458]: When share-cloning vehicles don't open the vehicle window of the new vehicle. The only reasonable thing to do with the new vehicle is to start it, which can also be done via the depot GUI.
|
12 years ago |
frosch
|
b533523258
|
(svn r24801) -Codechange: Add functions to set integral DParams to suitable values for size computations.
|
12 years ago |
frosch
|
03736af2ae
|
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
|
12 years ago |
frosch
|
90b539818f
|
(svn r24351) -Fix: Short vehicles were not properly positioned at the cursor when dragging for RTL languages.
|
12 years ago |
rubidium
|
6d6be50ae0
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
13 years ago |
rubidium
|
b8640b986f
|
(svn r23539) -Codechange: prevent conflict between widget naming of (vehicle) depots and vehicle details
|
13 years ago |