Henry Wilson
bfd79e59dc
Codechange: Replace SmallVector::Clear() with std::vector::clear()
2019-03-26 20:15:57 +00:00
peter1138
317f69c152
Codechange: Use override specifier in Window-derived classes.
2019-03-24 16:10:04 +01:00
PeterN
d242875d27
Fix #7197 : Invalidate depot buttons when necessary. ( #7212 )
2019-02-10 08:43:54 +00:00
Peter Nelson
90c7ef96ca
Fix 11ab3c4ea2: Fix showing cargo capacity for auto-refits (missed in #7134 )
2019-01-29 23:02:43 +01:00
Peter Nelson
15320a37b9
Change: OnGameTick() is only called when not paused.
2019-01-11 11:56:21 +00:00
Peter Nelson
2a8fa5fef9
Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust timers to work with milliseconds instead of ticks.
2019-01-11 11:56:21 +00:00
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
2018-10-31 12:35:54 +01:00
Sergii Pylypenko
66e3334f0e
Merge upstream branch 1.8
2018-05-31 22:59:50 +03:00
frosch
8f58cc6dac
(svn r27863) [1.7] -Backport from trunk:
...
- Fix: Black remap did nothing in 8bpp-simple blitter (r27837)
- Fix: Misaligned resize icon due to widget bounds being inclusive (r27831)
- Fix: Update viewport sign dimensions when changing GUI zoom level (r27827, r27819)
- Fix: Vehicle viewport is not user scrollable so flag window as such (r27823)
- Fix: Allow dropdown to be drawn above origin widget even with scrollbar (r27820)
- Fix: 32bpp-anim blitters assumed that pitch and width of the screen were equal [FS#6545] (r27796)
- Fix: Chat text background overflowed due to missing padding [FS#6526] (r27794)
2018-05-31 22:05:29 +03:00
pelya
678b7f122a
Re-centered start/stop vehicle string
2018-05-31 21:55:28 +03:00
pelya
af216cc4ef
Fixed more non-hideable window titles
2018-05-31 21:55:28 +03:00
PeterN
4cebebcf68
Change: Add CargoTypes type for cargo masks. ( #6790 )
2018-05-21 22:08:39 +01:00
J0an Josep
cfb8092397
Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.
2018-04-30 21:52:40 +02:00
Joan Josep
944f785be8
Fix: Spelling errors ( #6769 )
2018-04-30 18:52:32 +02:00
alberth
a6e7f1142b
(svn r27895) -Fix [FS#6606]: Tooltip of 'increase service interval' said 'decrease' (adf88)
2017-08-20 08:28:05 +00:00
frosch
b4b98e5165
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
2017-08-13 18:38:42 +00:00
peter1138
65fef84855
(svn r27823) -Fix: Vehicle viewport is not user scrollable so flag window as such.
2017-03-24 12:00:52 +00:00
alberth
ad88588481
(svn r27797) -Add: Display aircraft type in its vehicle window (patch by Samu)
2017-03-18 20:43:43 +00:00
Sergii Pylypenko
b4cc822085
Merge svn r27779
...
Conflicts:
src/autoreplace_gui.cpp
src/economy.cpp
src/fios_gui.cpp
src/lang/spanish_MX.txt
src/network/network_gui.cpp
src/rev.cpp.in
src/road_gui.cpp
src/toolbar_gui.cpp
src/window.cpp
2017-03-17 23:14:41 +02:00
frosch
9d8c04b0cc
(svn r27677) -Codechange: Remove implicit VehicleListIdentifier from uint32 constructor, to make conversions more explicit.
2016-11-05 19:16:59 +00:00
frosch
476b2b0e8c
(svn r27677) -Codechange: Remove implicit VehicleListIdentifier from uint32 constructor, to make conversions more explicit.
2016-11-05 19:16:59 +00:00
frosch
a08df612be
(svn r27672) -Doc [FS#6489]: Fix comment. (Yho)
2016-10-30 18:04:20 +00:00
frosch
b2fe2c6e3d
(svn r27672) -Doc [FS#6489]: Fix comment. (Yho)
2016-10-30 18:04:20 +00:00
frosch
ba566e9126
(svn r27668) -Feature: [NewGRF] Allow composing vehicles from multiple sprites.
2016-10-16 14:59:44 +00:00
frosch
117e73751c
(svn r27668) -Feature: [NewGRF] Allow composing vehicles from multiple sprites.
2016-10-16 14:59:44 +00:00
frosch
a37bb32fd6
(svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw.
2016-10-16 14:58:38 +00:00
frosch
c175067ed9
(svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw.
2016-10-16 14:58:38 +00:00
frosch
f36539837e
(svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq.
2016-10-16 14:57:56 +00:00
frosch
d2393b4f6c
(svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq.
2016-10-16 14:57:56 +00:00
frosch
8321c2d0fa
(svn r27665) -Fix: When dragging crashed vehicles, also draw them as crashed at the mouse cursor.
2016-10-16 14:57:13 +00:00
frosch
f5409c713b
(svn r27665) -Fix: When dragging crashed vehicles, also draw them as crashed at the mouse cursor.
2016-10-16 14:57:13 +00:00
frosch
3b9cc70553
(svn r27662) -Codechange: Deduplicate code using GetSingleVehicleWidth.
2016-10-16 14:56:05 +00:00
frosch
88dd4d11b4
(svn r27662) -Codechange: Deduplicate code using GetSingleVehicleWidth.
2016-10-16 14:56:05 +00:00
frosch
f46996243b
(svn r27632) -Feature: When dragging vehicles in group or depot GUI, draw the complete articulated vehicle.
2016-08-15 18:34:31 +00:00
frosch
9156d7bf34
(svn r27632) -Feature: When dragging vehicles in group or depot GUI, draw the complete articulated vehicle.
2016-08-15 18:34:31 +00:00
frosch
0829753fd0
(svn r27631) -Codechange: Split GetSingleVehicleWidth from GetVehicleWidth.
2016-08-15 18:34:09 +00:00
frosch
8e90072d3b
(svn r27631) -Codechange: Split GetSingleVehicleWidth from GetVehicleWidth.
2016-08-15 18:34:09 +00:00
frosch
caa9bffb56
(svn r27630) -Codechange: Deduplicate code to attach vehicle to cursor.
2016-08-15 18:33:52 +00:00
frosch
ddc9205212
(svn r27630) -Codechange: Deduplicate code to attach vehicle to cursor.
2016-08-15 18:33:52 +00:00
frosch
732260853e
(svn r27546) -Fix: Remove SetFill from vehicle GUI buttons, so that the viewport is resized instead of them in case of long window titles.
2016-04-17 20:20:52 +00:00
frosch
b8189977b4
(svn r27546) -Fix: Remove SetFill from vehicle GUI buttons, so that the viewport is resized instead of them in case of long window titles.
2016-04-17 20:20:52 +00:00
pelya
74c1382675
Compilation fixes
2016-03-27 23:14:56 +03:00
Sergii Pylypenko
a016e3fbf9
Fixed refit window too big.
2016-03-27 22:54:32 +03:00
pelya
34e886c5e5
Reverted more SetMinimalSize() hacks
2016-03-27 22:48:45 +03:00
pelya
075ac65a93
Fixes in vehicle GUI
2016-03-27 22:45:58 +03:00
pelya
3ef1c1baff
Merge commit 'a8b575671894ffe1329ef37dca4989c0e60d70f5'
...
These merges are becoming more awful every time
Conflicts:
src/ai/ai_gui.cpp
src/build_vehicle_gui.cpp
src/cheat_gui.cpp
src/company_gui.cpp
src/depot_gui.cpp
src/dock_gui.cpp
src/error_gui.cpp
src/genworld_gui.cpp
src/misc_gui.cpp
src/network/network_content_gui.cpp
src/network/network_gui.cpp
src/newgrf_gui.cpp
src/news_gui.cpp
src/rail_gui.cpp
src/rev.cpp.in
src/road_gui.cpp
src/settings_gui.cpp
src/settings_gui.h
src/signs_gui.cpp
src/station_gui.cpp
src/table/settings.ini
src/terraform_gui.cpp
src/toolbar_gui.cpp
src/toolbar_gui.h
src/vehicle_gui.cpp
src/video/sdl_v.cpp
src/viewport.cpp
src/widget.cpp
src/widgets/settings_widget.h
2016-03-27 22:33:11 +03:00
frosch
ba955956cb
(svn r27428) -Fix: When selecting a refit cargo for orders, do not check whether the vehicle is in a depot or station, and do not ask whether the vehicle currently allows station-refitting. Also hide the refit cost for orders, it is not predictable.
2015-10-30 17:27:21 +00:00
frosch
0974f5489b
(svn r27428) -Fix: When selecting a refit cargo for orders, do not check whether the vehicle is in a depot or station, and do not ask whether the vehicle currently allows station-refitting. Also hide the refit cost for orders, it is not predictable.
2015-10-30 17:27:21 +00:00
frosch
8767a11d60
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
2015-02-01 20:54:24 +00:00
frosch
a8080b6256
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
2015-02-01 20:54:24 +00:00