Sergii Pylypenko
17ee6fa299
Scroll most lists by finger dragging list contents
2020-03-19 21:39:20 +02:00
Sergii Pylypenko
3ba683874b
Merge remote-tracking branch 'origin/master' into HEAD
2019-04-23 18:16:24 +03: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
Peter Nelson
bf8d7df736
Change: Extend rail types to 64 (6 bit storage)
2018-07-26 13:27:40 +01:00
Jonathan G Rennison
0bd1022238
Codechange: Change element type used for rail type usage stats array in SetDefaultRailGui
...
The array is rail type sized in terms of number of elements.
Each element should be a unsigned integer, not a rail type itself.
This fixes runtime warnings reported by UndefinedBehaviorSanitizer.
2018-06-06 11:02:50 +01:00
Sergii Pylypenko
1770e24fc5
Always put terraform toolbar below the tool windiw
2018-05-31 22:09:18 +03:00
Sergii Pylypenko
da2adb2935
Fixed terraform toolbar position
2018-05-31 22:09:16 +03:00
Sergii Pylypenko
204ee8a5d7
Always show terraform menu in compact toolbar mode
2018-05-31 22:09:16 +03: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
Sergii Pylypenko
7a0d500529
Fixed build tools leaving random uncloseable station dialogs
2017-03-17 22:41:28 +02:00
pelya
ca80f71f45
Rearranged rail station window, to allow space for NewGRF stations
2017-03-17 22:40:05 +02:00
pelya
a724419cc9
Fixed joining stations, broken by confirmation dialog
2017-03-17 22:40:05 +02:00
pelya
ff28829393
Fixed bridge GUI broken due to confirmation dialog
2017-03-17 22:40:04 +02:00
pelya
09b1a4cf5d
Fixed remove and one-way buttons for road and rail, broken by confirmation UI
2017-03-17 22:40:04 +02:00
pelya
4909bdbecc
Fixed joining rail stations broken
2017-03-17 22:40:04 +02:00
frosch
14dba9764b
(svn r27710) -Change: Limit waypoint area by maximum station spread already when dragging. (adf88)
2016-12-25 14:59:53 +00:00
frosch
6f8241d8e9
(svn r27710) -Change: Limit waypoint area by maximum station spread already when dragging. (adf88)
2016-12-25 14:59:53 +00:00
frosch
da76191afc
(svn r27683) -Change: Rearrange the autoreplace GUI for trains, and do not filter it by railtype by default.
2016-12-08 20:21:39 +00:00
frosch
ad43465c31
(svn r27683) -Change: Rearrange the autoreplace GUI for trains, and do not filter it by railtype by default.
2016-12-08 20:21:39 +00:00
frosch
14c1a7ad0b
(svn r27571) -Codechange: Consistent naming for command callbacks which play a sound effect.
2016-05-22 10:07:48 +00:00
frosch
9aa33862a7
(svn r27571) -Codechange: Consistent naming for command callbacks which play a sound effect.
2016-05-22 10:07:48 +00:00
frosch
34b68c7a82
(svn r27547) -Fix: Use a more appropiate sound effect for convert-rail. (andythenorth)
2016-04-19 20:39:08 +00:00
frosch
e8b6b02bc2
(svn r27547) -Fix: Use a more appropiate sound effect for convert-rail. (andythenorth)
2016-04-19 20:39:08 +00:00
Sergii Pylypenko
ad5599aed8
Hide all windows when building anything on the map
2016-04-08 21:45:29 +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
ade25fff71
(svn r27427) -Fix: Use the NewGRF railtype sorting order in the infrastructure window.
2015-10-30 17:24:30 +00:00
frosch
2d636266f5
(svn r27427) -Fix: Use the NewGRF railtype sorting order in the infrastructure window.
2015-10-30 17:24:30 +00:00
pelya
8f7e444f4f
Allow scrolling when selecting destination station or building single-tile objects
2015-03-29 20:22:19 +03:00
pelya
6f9c0181c1
Align all construction windows to the left, to make more space at the center of the screen
2015-03-29 20:22:18 +03:00
pelya
bde4cdebc1
Fixed too wide buttons in the railroad semaphore dialog
2015-03-29 20:22:18 +03:00
Sergii Pylypenko
400b6daad0
Auto-select last used tool for railroad
2015-03-29 20:22:18 +03:00
pelya
396aebaa98
Shorter rail station construction window
2015-03-29 20:22:18 +03:00
frosch
6cb930168f
(svn r27163) -Fix [FS#6204]: Toolbars were not invalidated when changing max-vehicles settings. (adf88)
2015-02-22 15:26:27 +00:00
frosch
c639fb0d8e
(svn r27163) -Fix [FS#6204]: Toolbars were not invalidated when changing max-vehicles settings. (adf88)
2015-02-22 15:26:27 +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
peter1138
4f63bbedc1
(svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom level.
2014-09-22 08:01:25 +00:00
peter1138
51fe741987
(svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom level.
2014-09-22 08:01:25 +00:00
pelya
d3e9368f34
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/autoreplace_gui.cpp
2014-06-15 22:32:06 +03:00
frosch
7b3ead329b
(svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours.
2014-06-10 16:37:25 +00:00
frosch
1b0929a9f0
(svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours.
2014-06-10 16:37:25 +00:00
Sergii Pylypenko
91ebce1a9c
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/console_gui.cpp
src/genworld_gui.cpp
src/group_gui.cpp
src/misc_gui.cpp
src/settings_gui.cpp
src/widgets/settings_widget.h
2014-06-04 17:09:23 +03:00
Sergii Pylypenko
41da4be66b
Removed remainder of the 'touchscreen mode' code
2014-06-03 20:27:45 +03:00
Sergii Pylypenko
742f20fcc3
Revert "Erase queued command also when depot direction/airport type/station type changes."
...
This reverts commit 60a7ac9f3c .
2014-06-03 18:44:34 +03:00
Sergii Pylypenko
b2bfcf6816
Revert "Erase queued commands when another command is about to be queued."
...
This reverts commit 604205045f .
2014-06-03 18:44:16 +03:00
Sergii Pylypenko
a0581f42bd
Revert "Select the actions that will need confirmation."
...
This reverts commit 02caad7c1b .
2014-06-03 18:14:15 +03:00
Sergii Pylypenko
1362aaab60
Fixed 'build waypoint' button building a train station.
2014-05-28 22:41:25 +03:00
rubidium
2be4215f43
(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
2014-04-23 20:13:33 +00:00
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
2014-04-23 20:13:33 +00:00
pelya
55a09da6b2
Merge remote-tracking branch 'upstream/master'
2014-03-23 19:04:54 +02:00