rubidium
e706131e16
(svn r23053) [1.1] -Backport from trunk:
...
- Fix: [NewGRF] When vehicles break down, update the image cache after changing the vehicle state to make fish happy (r23050)
- Fix: Use the same forest-check for the vegetation-map colour as for nearby station names [FS#4810] (r23049)
- Fix: Check that the selected font size is valid the font face in use and choose the nearest size to that selected if not. Font metrics should then just work (r23038)
- Fix: The last custom playlist items went lost when the files in the .obm are not contiguous [FS#4776] (r23035, r23034, r23033)
2011-10-22 21:06:58 +00:00
rubidium
633454f0dd
(svn r22252) [1.1] -Backport from trunk:
...
- Fix: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting [FS#4546] (r22249, r22248, r22247, r22246, r22245, r22244, r22243, r22242, r22241, r22236, r22228, r22227, r22226)
2011-03-14 19:03:17 +00:00
rubidium
f2d2713f05
(svn r22151) [1.1] -Backport from trunk:
...
- Fix: Spectators had crashes when closing buoy windows (r22131)
- Fix: Build-station-window showed wrong selection when reopening [FS#4530] (r22128)
- Fix: Canals would get drawn as land in the smallmap when using the owner window (r22127)
- Fix: The animation-ness of two goldmine tiles were swapped, causing the wheeltower to not work properly, and the bottom corner to show the wrong sprite [FS#4528] (r22125)
- Fix: CommandQueue::Pop() did not update 'last'; popping the last item caused the queue to disconnect unless there was only one item [FS#4522] (r22123)
2011-02-26 20:06:18 +00:00
frosch
9e1695aa1e
(svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings.
2011-02-05 16:36:37 +00:00
terkhen
ff6aeb8791
(svn r21830) -Fix: Deunionize a union which was not initialized correctly.
2011-01-17 19:40:06 +00:00
terkhen
4d8a93c870
(svn r21813) -Fix [FS#4411](r21720): Prevent crash when displaying the owner view.
2011-01-15 20:23:15 +00:00
terkhen
03088dadda
(svn r21733) -Codechange: Clarify the update owner legend code.
...
-Fix: Prevent crashes caused by deleted companies.
2011-01-05 11:04:29 +00:00
terkhen
0b27228d9a
(svn r21729) -Fix (r21718, r21720): In some cases clicking on a industry/company legend entry would not work.
2011-01-04 22:56:56 +00:00
terkhen
ace917f872
(svn r21726) -Add: Allow to toggle height visualization in the owner view of the smallmap.
2011-01-04 21:03:57 +00:00
terkhen
995e80ba57
(svn r21725) -Cleanup: Remove unused owner code.
2011-01-04 21:03:01 +00:00
terkhen
aac2289bf8
(svn r21724) -Change: Do not reset the "Show height" state after closing the smallmap window.
2011-01-04 21:02:10 +00:00
terkhen
38ed740e80
(svn r21723) -Add: Enable/Disable all buttons to the owner view of the smallmap.
2011-01-04 21:01:29 +00:00
terkhen
7e6e7a6737
(svn r21721) -Codechange: Rename the smallmap button panel and its strings.
2011-01-04 20:59:41 +00:00
terkhen
b621e4545c
(svn r21720) -Feature: Allow to toggle visualization of company property in the owner view of the smallmap.
2011-01-04 20:58:42 +00:00
terkhen
4f1e96acf1
(svn r21719) -Doc: Correct a doxygen comment.
2011-01-04 20:58:07 +00:00
terkhen
2103f7e91a
(svn r21718) -Feature: Show a list of companies in the owner legend.
2011-01-04 20:57:11 +00:00
terkhen
e4b8a4e3bf
(svn r21717) -Codechange: Unify smallmap functions for getting the legend height.
2011-01-04 20:56:00 +00:00
terkhen
ebb360f48c
(svn r21716) -Add: Tooltip for the industry legend at the smallmap.
2011-01-04 20:54:36 +00:00
terkhen
5268d03abd
(svn r21715) -Fix: Use the correct land colour in the owner legend.
2011-01-04 20:53:57 +00:00
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
2010-11-26 15:22:18 +00:00
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
2010-11-13 09:56:25 +00:00
alberth
c57653e8e3
(svn r20851) -Fix: Smallmap legend buttons must all be equal in size, even if their contents is not.
2010-09-26 11:28:03 +00:00
frosch
e9cd81953a
(svn r20741) -Cleanup: Use IsTileOnWater() in more places.
2010-09-05 13:18:54 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
alberth
7ad1f5ccef
(svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window.
2010-08-08 11:21:24 +00:00
alberth
2fa665114e
(svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window.
2010-08-08 11:17:14 +00:00
rubidium
3da3d131c6
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
2010-08-08 10:59:30 +00:00
alberth
abc14d8fbf
(svn r20410) -Codechange: Move smallmap map-type switching to a function.
2010-08-08 10:47:09 +00:00
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
2010-08-01 19:44:49 +00:00
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +00:00
rubidium
0e078670b7
(svn r20145) -Codechange: keep original RMB->tooltip behaviour when hovering is disabled and there is no handled right click event for the widget, i.e. if a widget would handle the right click you won't see the tooltip anymore by right clicking; by enabling hovering you would get access to that tooltip again.
2010-07-14 17:36:27 +00:00
alberth
270b5fdaaf
(svn r19821) -Fix (r19816): Minimap displayed a black screen instead of the upper edge of the map (reported by IPG).
2010-05-14 17:49:55 +00:00
rubidium
548dd91ef0
(svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well
2010-05-13 11:19:30 +00:00
frosch
9ff8032c94
(svn r19770) -Feature: Hide all other industries when ctrl+clicking an industry type in smallmap legend.
2010-05-08 17:33:04 +00:00
alberth
8d1d4267af
(svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore).
2010-05-07 20:39:00 +00:00
alberth
d822b2969b
(svn r19766) -Codechange: Store tile height of smallmap contour legend in the LegendAndColour struct.
2010-05-07 20:27:22 +00:00
rubidium
d031034789
(svn r19760) -Change: use the {HEIGHT} command for the smallmap legend
2010-05-04 22:12:09 +00:00
frosch
2e90f7f8b9
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
2010-04-18 14:56:05 +00:00
smatz
941f0c7056
(svn r19580) -Codechange: auto-raise 'Enable/Disable all' buttons in the Smallmap window
2010-04-07 21:24:27 +00:00
terkhen
fe0d4253b8
(svn r19523) -Fix: Prevent drawing industries disabled at the smallmap as land tiles when they are built on water.
2010-03-28 15:14:25 +00:00
terkhen
217a98e69b
(svn r19521) -Codechange: Use a IndustryType array to sort industries by name instead of a LegendAndColour array.
2010-03-28 12:25:09 +00:00
terkhen
87e7c01343
(svn r19503) -Feature: Sort industries alphabetically at the smallmap legend.
2010-03-23 17:53:33 +00:00
frosch
116a5f56a4
(svn r19481) -Codechange: Turn _industry_counts into a static member of Industry.
2010-03-20 14:30:16 +00:00
peter1138
1025d003b3
(svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet.
2010-03-03 19:07:34 +00:00
alberth
dd1c72d39a
(svn r19104) -Fix (r19039): Stablize main view centering in smallmap.
2010-02-12 13:46:41 +00:00
alberth
47295bb8b9
(svn r19103) -Codechange: Use px/py for pixel coordinates in PixelToTile(), as promised by the documentation.
2010-02-12 12:14:21 +00:00
alberth
464ad6b951
(svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons.
2010-02-12 10:40:29 +00:00
terkhen
52312ea17f
(svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth).
2010-02-08 23:46:35 +00:00
alberth
76dbdca2f8
(svn r19052) -Codechange: Remove the _smallmap_draw_procs array.
2010-02-07 11:58:35 +00:00