pelya
4cba4d08aa
Fixed UI when building with non-autorail tool with confirmation window
2016-04-11 00:48:14 +03:00
pelya
de9d011a01
Fixed non-autorail building with confirmation dialog, UI is still slightly broken
2016-04-11 00:34:01 +03:00
Sergii Pylypenko
510548f381
Proper transparent confirmation window
2016-04-07 23:39:16 +03:00
Sergii Pylypenko
19bfa2317c
Keep building area highlighted when confirmation window is shown
2016-04-06 23:39:17 +03:00
Sergii Pylypenko
a7a8e35968
Build confirmation window, for each build action on the map
2016-04-06 23:35:05 +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
alberth
b1f1647303
(svn r27344) -Doc: Documenting the (Re)setObjectToPlace functions.
2015-07-28 08:16:52 +00:00
frosch
67ae231f1b
(svn r27340) -Fix [FS#6338]: Silence warning by moving _string_colourmap to a file no its own. (Cif)
2015-07-26 09:47:17 +00:00
frosch
f27dc40c8a
(svn r27248) -Fix [FS#6257]: Town labels on smallmap and zoomed-out viewports were not centered. (_dp_)
2015-04-25 11:58:19 +00:00
pelya
8f7e444f4f
Allow scrolling when selecting destination station or building single-tile objects
2015-03-29 20:22:19 +03:00
pelya
0d3412d064
Hide all windows when selecting vehicle destination station
2015-03-29 20:22:18 +03:00
pelya
fdddd873dd
Auto-select last used tool when user cancels build action, only for roads now
2015-03-29 20:22:18 +03:00
frosch
8d04567343
(svn r27162) -Fix [FS#6208]: Tile selection was drawn outside of map in some cases. (adf88)
2015-02-22 15:05:48 +00:00
frosch
939719ffc0
(svn r27161) -Fix [FS#6156] [FS#6206]: Reimplement the viewport drawing algorithm.
2015-02-22 14:42:34 +00:00
frosch
d35670aa2a
(svn r27160) -Fix: Division of signed values by TILE_SIZE requires cast to stay signed.
2015-02-22 14:14:30 +00:00
frosch
79380a566e
(svn r27158) -Codechange: Simplify mapping from viewport to smallmap coordinates by duplicating less code.
2015-02-22 14:10:44 +00:00
frosch
bd3a8bf9e4
(svn r27157) -Fix: Mark bridge middle tiles dirty when building/removing/changing bridges.
2015-02-22 14:01:24 +00:00
frosch
891e4c40ce
(svn r27148) -Fix: Rounding and unit-conversion inconsistencies in calls to MarkAllViewportsDirty.
2015-02-14 12:53:07 +00:00
rubidium
0c2f4bdc2b
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
2014-10-15 18:31:37 +00:00
rubidium
26574124b1
(svn r27002) -Fix-ish: replace some non-ASCII characters with ASCII characters, e.g. @þaram to @param
2014-10-12 18:26:54 +00:00
rubidium
22dd5ddca1
(svn r26910) -Fix: account for the height of the landscape at the edge of the map to determine the scroll boundaries (based on patch by ic111)
2014-09-22 18:14:44 +00:00
rubidium
1c077e596b
(svn r26908) -Codechange: replace a magic number by a more logical calculation
2014-09-22 15:04:18 +00:00
rubidium
dfd472f4a4
(svn r26900) -Fix-ish: dirty the appropriate area around map edges when terraforming there to prevent any artefacts from occuring (ic111)
2014-09-21 17:29:48 +00:00
rubidium
6cee5310c1
(svn r26899) -Codechange: reduce the amount of tiles that needs to be drawn by taking the height of tiles into account instead of drawing way too many (ic111)
2014-09-21 17:27:37 +00:00
rubidium
44bcff645c
(svn r26870) -Fix (r15190): since freeform edges the 'tile height' at southern edge * 8 pixels just 'south' of the edge tile would not be drawn and would as a result not be refreshed causing artefacts to remain there. This adds a virtual slope to level 0 so it can be redrawn appropriately. Loosely based on patch by ic111
2014-09-21 08:19:32 +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
pelya
f469e7f57b
Show info about facility/station/vehicle on mouse up instead of mouse down, to allow better map dragging.
2014-06-01 01:23:34 +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
Juanjo
f70dbfdc32
Set selection tiles dirty when erasing a queued command.
2014-03-15 22:52:35 +02:00
Juanjo
90914e262a
Changes on viewport related files to deal with touchscreen options.
2014-03-15 22:23:22 +02:00
Juanjo
6c368cbde5
Add new viewport methods.
2014-03-15 21:56:55 +02:00
Juanjo
0fffd1dd3c
Allow calling init presizing mode from outside viewport.cpp.
2014-03-15 21:56:55 +02:00
fonsinchen
827fd192de
(svn r26338) -Fix [FS#5908]: Don't redraw the link graph overlay if it's empty (MJP)
2014-02-15 12:19:46 +00:00
rubidium
4a911754b5
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
5156c3731b
(svn r26205) -Feature: SSE 4.1 sprite sorter, improving the sorting performance significantly (MJP)
...
For example with GCC 4.8, x86_64 Linux, Intel i5-3337U this patch improves the performance of Pile, Treham and Hamac test save games by about 10% in over-all run time at fast forward at 1920x1080 when zoomed out and when trees are not disabled.
2014-01-02 16:48:16 +00:00
frosch
26f86765f9
(svn r25823) -Codechange [FS#5780]: Simplify if-cases in ViewportDrawStrings. (Juanjo)
2013-10-06 20:18:53 +00:00
rubidium
316e666860
(svn r25546) -Fix: two small memory leaks
2013-06-30 20:40:49 +00:00
rubidium
238a842700
(svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen)
2013-05-19 14:49:25 +00:00
frosch
4490e3ae12
(svn r24975) -Fix [FS#5463]: Additional zoom in levels could glitch by a few pixels due to incorrect rounding.
2013-02-06 17:51:05 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
rubidium
76d5833650
(svn r24179) -Codechange: move some variables of Town to TownCache
2012-04-25 20:50:13 +00:00
rubidium
3c3cb93682
(svn r24068) -Change/fix [FS#5103]: significantly reduce the area that is redrawn for text effects (Rhamphoryncus)
2012-03-25 19:30:05 +00:00
rubidium
484dab34c9
(svn r24065) -Feature-ish [FS#5101]: debug option for showing the redrawn dirty blocks/rectangles
2012-03-25 19:06:59 +00:00
frosch
20c4f128ab
(svn r23835) -Change [FS#4999]: Make signs placed in scenario editor belong to the GS. That way they are always shown in game and are not editable.
2012-01-22 13:54:02 +00:00
truebrain
ac9324f270
(svn r23621) -Add: allow manipulation of signs via GameScripts
2011-12-19 20:59:29 +00:00
peter1138
1a0d9e73de
(svn r23329) -Fix (r23316): Scale child sprite pixel offsets unless told not to. Fixes lifts and industry graphics.
2011-11-25 23:06:17 +00:00
peter1138
b84174fd4d
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
2011-11-24 12:38:48 +00:00
peter1138
782aee3c2a
(svn r23314) -Add: Add settings to restrict viewport zoom levels.
2011-11-24 12:20:14 +00:00
frosch
07cccfb893
(svn r23125) -Codechange: Replace some 8s with TILE_SIZE / 2. (adf88)
2011-11-06 15:54:55 +00:00
rubidium
e8eb3fe381
(svn r23110) -Codechange: let the flying altitude return ints are well
2011-11-04 13:40:59 +00:00