frosch
|
5e449b8fae
|
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
|
14 years ago |
michi_cc
|
4b0a2fbe29
|
(svn r22428) -Codechange: Reduce code duplication in the smallmap legend.
|
14 years ago |
frosch
|
22286bd7b6
|
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
|
14 years ago |
rubidium
|
5a620d1c65
|
(svn r22406) -Document: some more "random-ish" tidbits
|
14 years ago |
frosch
|
ec9540a12a
|
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
|
14 years ago |
terkhen
|
4860eff98c
|
(svn r22127) -Fix: Canals would get drawn as land in the smallmap when using the owner window.
|
14 years ago |
frosch
|
9e1695aa1e
|
(svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings.
|
14 years ago |
terkhen
|
ff6aeb8791
|
(svn r21830) -Fix: Deunionize a union which was not initialized correctly.
|
14 years ago |
terkhen
|
4d8a93c870
|
(svn r21813) -Fix [FS#4411](r21720): Prevent crash when displaying the owner view.
|
14 years ago |
terkhen
|
03088dadda
|
(svn r21733) -Codechange: Clarify the update owner legend code.
-Fix: Prevent crashes caused by deleted companies.
|
14 years ago |
terkhen
|
0b27228d9a
|
(svn r21729) -Fix (r21718, r21720): In some cases clicking on a industry/company legend entry would not work.
|
14 years ago |
terkhen
|
ace917f872
|
(svn r21726) -Add: Allow to toggle height visualization in the owner view of the smallmap.
|
14 years ago |
terkhen
|
995e80ba57
|
(svn r21725) -Cleanup: Remove unused owner code.
|
14 years ago |
terkhen
|
aac2289bf8
|
(svn r21724) -Change: Do not reset the "Show height" state after closing the smallmap window.
|
14 years ago |
terkhen
|
38ed740e80
|
(svn r21723) -Add: Enable/Disable all buttons to the owner view of the smallmap.
|
14 years ago |
terkhen
|
7e6e7a6737
|
(svn r21721) -Codechange: Rename the smallmap button panel and its strings.
|
14 years ago |
terkhen
|
b621e4545c
|
(svn r21720) -Feature: Allow to toggle visualization of company property in the owner view of the smallmap.
|
14 years ago |
terkhen
|
4f1e96acf1
|
(svn r21719) -Doc: Correct a doxygen comment.
|
14 years ago |
terkhen
|
2103f7e91a
|
(svn r21718) -Feature: Show a list of companies in the owner legend.
|
14 years ago |
terkhen
|
e4b8a4e3bf
|
(svn r21717) -Codechange: Unify smallmap functions for getting the legend height.
|
14 years ago |
terkhen
|
ebb360f48c
|
(svn r21716) -Add: Tooltip for the industry legend at the smallmap.
|
14 years ago |
terkhen
|
5268d03abd
|
(svn r21715) -Fix: Use the correct land colour in the owner legend.
|
14 years ago |
alberth
|
f5c6fd1a25
|
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
|
14 years ago |
rubidium
|
30637a8340
|
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
|
14 years ago |
alberth
|
c57653e8e3
|
(svn r20851) -Fix: Smallmap legend buttons must all be equal in size, even if their contents is not.
|
14 years ago |
frosch
|
e9cd81953a
|
(svn r20741) -Cleanup: Use IsTileOnWater() in more places.
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
alberth
|
7ad1f5ccef
|
(svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window.
|
14 years ago |
alberth
|
2fa665114e
|
(svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window.
|
14 years ago |
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.
|
14 years ago |
alberth
|
abc14d8fbf
|
(svn r20410) -Codechange: Move smallmap map-type switching to a function.
|
14 years ago |
frosch
|
4bd32799f1
|
(svn r20286) -Codechange: Unify end of doxygen comments.
|
14 years ago |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
14 years ago |
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
14 years ago |
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.
|
14 years ago |
alberth
|
270b5fdaaf
|
(svn r19821) -Fix (r19816): Minimap displayed a black screen instead of the upper edge of the map (reported by IPG).
|
15 years ago |
rubidium
|
548dd91ef0
|
(svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well
|
15 years ago |
frosch
|
9ff8032c94
|
(svn r19770) -Feature: Hide all other industries when ctrl+clicking an industry type in smallmap legend.
|
15 years ago |
alberth
|
8d1d4267af
|
(svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore).
|
15 years ago |
alberth
|
d822b2969b
|
(svn r19766) -Codechange: Store tile height of smallmap contour legend in the LegendAndColour struct.
|
15 years ago |
rubidium
|
d031034789
|
(svn r19760) -Change: use the {HEIGHT} command for the smallmap legend
|
15 years ago |
frosch
|
2e90f7f8b9
|
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
|
15 years ago |
smatz
|
941f0c7056
|
(svn r19580) -Codechange: auto-raise 'Enable/Disable all' buttons in the Smallmap window
|
15 years ago |
terkhen
|
fe0d4253b8
|
(svn r19523) -Fix: Prevent drawing industries disabled at the smallmap as land tiles when they are built on water.
|
15 years ago |
terkhen
|
217a98e69b
|
(svn r19521) -Codechange: Use a IndustryType array to sort industries by name instead of a LegendAndColour array.
|
15 years ago |
terkhen
|
87e7c01343
|
(svn r19503) -Feature: Sort industries alphabetically at the smallmap legend.
|
15 years ago |
frosch
|
116a5f56a4
|
(svn r19481) -Codechange: Turn _industry_counts into a static member of Industry.
|
15 years ago |
peter1138
|
1025d003b3
|
(svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet.
|
15 years ago |
alberth
|
dd1c72d39a
|
(svn r19104) -Fix (r19039): Stablize main view centering in smallmap.
|
15 years ago |
alberth
|
47295bb8b9
|
(svn r19103) -Codechange: Use px/py for pixel coordinates in PixelToTile(), as promised by the documentation.
|
15 years ago |
alberth
|
464ad6b951
|
(svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons.
|
15 years ago |
terkhen
|
52312ea17f
|
(svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth).
|
15 years ago |
alberth
|
76dbdca2f8
|
(svn r19052) -Codechange: Remove the _smallmap_draw_procs array.
|
15 years ago |
alberth
|
ec436a7615
|
(svn r19048) -Codechange: Pass the already queried effective tile type to the GetSmallMapPixels routines.
|
15 years ago |
alberth
|
0e97146d4d
|
(svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines.
|
15 years ago |
alberth
|
5cd81526d8
|
(svn r19046) -Codechange: Move retrieval of tile colour data in smallmap.
|
15 years ago |
alberth
|
da2722da36
|
(svn r19043) -Doc: Dcoumenting the GetSmallMapPixels typedef.
|
15 years ago |
alberth
|
4cf65e6e81
|
(svn r19042) -Add: Allow mousewheel zooming in smallmap.
|
15 years ago |
alberth
|
a6e8c747c9
|
(svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps.
|
15 years ago |
alberth
|
21589daea9
|
(svn r19040) -Codechange: Introduce inverse function of RemapCoords.
|
15 years ago |
alberth
|
db6e077c8a
|
(svn r19039) -Feature: Add zoom-out to smallmap.
|
15 years ago |
alberth
|
3f2c4d744a
|
(svn r19026) -Codechange: Move a constant computation out of the loop.
|
15 years ago |
alberth
|
32db019d9e
|
(svn r19025) -Codechange: Rename DrawSmallMapStuff() to DrawSmallMapColumn().
|
15 years ago |
frosch
|
88019e64e1
|
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
|
15 years ago |
alberth
|
815eede0be
|
(svn r18962) -Fix (r18958, r18961): Code-style, use this explicitly.
|
15 years ago |
alberth
|
cdc6f5ddc1
|
(svn r18961) -Codechange: Simplifying and unduplicating code in smallmap.
|
15 years ago |
alberth
|
5c9cb9648b
|
(svn r18958) -Codechange: Merge smallmap remap functions.
|
15 years ago |
alberth
|
ab4072ba8d
|
(svn r18957) -Doc: Documenting the scroll_x, scroll_y, and subscroll variables of SmallMapWindow.
|
15 years ago |
alberth
|
d2fc24d61c
|
(svn r18906) -Codechange: Use start and end column position instead of a mask for drawing a column in the smallmap.
|
15 years ago |
alberth
|
ff11095916
|
(svn r18827) -Fix: Center main window using smallmap widget edge coordinates.
|
15 years ago |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
15 years ago |
yexo
|
b378e82676
|
(svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline
|
15 years ago |
alberth
|
ab26bfd6a0
|
(svn r18693) -Doc: Add some doxygen comments to smallmap code.
|
15 years ago |
alberth
|
4801b17837
|
(svn r18666) -Codechange: Add tooltips to enable/disable all buttons in smallmap.
|
15 years ago |
alberth
|
0a7fc9e4ea
|
(svn r18665) -Feature [FS#567]: Allow contour-map to be shown with coloured industries in smallmap.
|
15 years ago |
alberth
|
2ab3e5ab40
|
(svn r18663) -Codechange (r1): Remove unused _smallmap_vegetation_andor colour masks.
|
15 years ago |
alberth
|
91872aca48
|
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
|
15 years ago |
alberth
|
7c4eaf73a7
|
(svn r18489) -Codechange: Introduce a custom container widget for a resizing legend bar in the smallmap.
|
15 years ago |
alberth
|
dd12391f10
|
(svn r18488) -Codechange: Make number of rows for displaying industries in smallmap legend dynamic.
|
15 years ago |
alberth
|
d6aae1a84d
|
(svn r18487) -Codechange: Move row height and column counting to OnInit in the smallmap window as well.
|
15 years ago |
alberth
|
3cfcae07e2
|
(svn r18480) -Codechange: Moved column width computation of smallmap legends to OnInit(), added a few doxy comments.
|
15 years ago |
rubidium
|
5c1fdfdd03
|
(svn r18389) -Fix: some minor documentation alignment issues
|
15 years ago |
rubidium
|
736e0c18cc
|
(svn r18332) -Fix: the MSVC compile warnings
|
15 years ago |
rubidium
|
293dfd7c3e
|
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
|
15 years ago |
rubidium
|
8d6e323ef8
|
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
|
15 years ago |
rubidium
|
14300d309c
|
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
|
15 years ago |
rubidium
|
69b6d9309a
|
(svn r18274) -Codechange: remove the unused WDF flags
|
15 years ago |
alberth
|
450e40b997
|
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
|
15 years ago |
alberth
|
2b6f792513
|
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
|
15 years ago |
alberth
|
bf93372ca2
|
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
|
15 years ago |
rubidium
|
e9b6e73333
|
(svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances
|
15 years ago |
rubidium
|
5a15fbde11
|
(svn r18173) -Codechange: make the smallmap RTL aware
|
15 years ago |
rubidium
|
5f2ddfbc5a
|
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
|
15 years ago |
rubidium
|
9396a701fe
|
(svn r18087) -Codechange: remove NWID_LAYERED
|
15 years ago |
rubidium
|
3d2d7af88f
|
(svn r18086) -Codechange: remove 'widget' from WindowDesc
|
15 years ago |
rubidium
|
125d369c4e
|
(svn r18083) -Codechange: make the small map GUI nested.
|
15 years ago |
rubidium
|
517162cc45
|
(svn r18082) -Codechange: make it visually easier to see where the different legenda 'tables' are split + some typos
|
15 years ago |
rubidium
|
66e1aafe5b
|
(svn r18080) -Codechange: add some const to the smallmap
|
15 years ago |
rubidium
|
cbf4b80b86
|
(svn r18030) -Fix: screen jumped a bit for at least SDL and Allegro when right-click-dragging
|
15 years ago |
smatz
|
18d67f6442
|
(svn r17881) -Codechange: unify comment style in smallmap_gui.cpp a bit
|
15 years ago |