Commit Graph

696 Commits (1e2834a422aa5312a4a268c0fd6c494b735a8194)

Author SHA1 Message Date
terkhen 789da3ffa3 (svn r21733) -Codechange: Clarify the update owner legend code.
-Fix: Prevent crashes caused by deleted companies.
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 5c9e09419d (svn r21729) -Fix (r21718, r21720): In some cases clicking on a industry/company legend entry would not work. 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 2e92755d6c (svn r21726) -Add: Allow to toggle height visualization in the owner view of the smallmap. 14 years ago
terkhen ace917f872 (svn r21726) -Add: Allow to toggle height visualization in the owner view of the smallmap. 14 years ago
terkhen f57eb2c886 (svn r21725) -Cleanup: Remove unused owner code. 14 years ago
terkhen 995e80ba57 (svn r21725) -Cleanup: Remove unused owner code. 14 years ago
terkhen 61b5cdbcd8 (svn r21724) -Change: Do not reset the "Show height" state after closing the smallmap window. 14 years ago
terkhen aac2289bf8 (svn r21724) -Change: Do not reset the "Show height" state after closing the smallmap window. 14 years ago
terkhen e6dbc0ca88 (svn r21723) -Add: Enable/Disable all buttons to the owner view of the smallmap. 14 years ago
terkhen 38ed740e80 (svn r21723) -Add: Enable/Disable all buttons to the owner view of the smallmap. 14 years ago
terkhen f7d9da95a7 (svn r21721) -Codechange: Rename the smallmap button panel and its strings. 14 years ago
terkhen 7e6e7a6737 (svn r21721) -Codechange: Rename the smallmap button panel and its strings. 14 years ago
terkhen 88f8363881 (svn r21720) -Feature: Allow to toggle visualization of company property in the owner view of the smallmap. 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 41d13b9d63 (svn r21719) -Doc: Correct a doxygen comment. 14 years ago
terkhen 4f1e96acf1 (svn r21719) -Doc: Correct a doxygen comment. 14 years ago
terkhen 1af95597cf (svn r21718) -Feature: Show a list of companies in the owner legend. 14 years ago
terkhen 2103f7e91a (svn r21718) -Feature: Show a list of companies in the owner legend. 14 years ago
terkhen 247cced2ad (svn r21717) -Codechange: Unify smallmap functions for getting the legend height. 14 years ago
terkhen e4b8a4e3bf (svn r21717) -Codechange: Unify smallmap functions for getting the legend height. 14 years ago
terkhen 929aaa7e08 (svn r21716) -Add: Tooltip for the industry legend at the smallmap. 14 years ago
terkhen ebb360f48c (svn r21716) -Add: Tooltip for the industry legend at the smallmap. 14 years ago
terkhen dcb71c3770 (svn r21715) -Fix: Use the correct land colour in the owner legend. 14 years ago
terkhen 5268d03abd (svn r21715) -Fix: Use the correct land colour in the owner legend. 14 years ago
alberth 0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
alberth f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
rubidium 5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
alberth e7de92f70b (svn r20851) -Fix: Smallmap legend buttons must all be equal in size, even if their contents is not. 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 b170aa4b83 (svn r20741) -Cleanup: Use IsTileOnWater() in more places. 14 years ago
frosch e9cd81953a (svn r20741) -Cleanup: Use IsTileOnWater() in more places. 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
alberth 9b10773428 (svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window. 14 years ago
alberth 7ad1f5ccef (svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window. 14 years ago
alberth 15f407acea (svn r20414) -Feature: Enable industries in the smallmap displayed in 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 1f2276b785 (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
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 67be093e57 (svn r20410) -Codechange: Move smallmap map-type switching to a function. 14 years ago
alberth abc14d8fbf (svn r20410) -Codechange: Move smallmap map-type switching to a function. 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
rubidium 5e83d73679 (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
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 1f08a7a72e (svn r19821) -Fix (r19816): Minimap displayed a black screen instead of the upper edge of the map (reported by IPG). 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). 14 years ago
rubidium f2d86acbd9 (svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well 14 years ago
rubidium 548dd91ef0 (svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well 14 years ago
frosch fc4ad28cb0 (svn r19770) -Feature: Hide all other industries when ctrl+clicking an industry type in smallmap legend. 14 years ago
frosch 9ff8032c94 (svn r19770) -Feature: Hide all other industries when ctrl+clicking an industry type in smallmap legend. 14 years ago
alberth 14d545e902 (svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore). 14 years ago
alberth 8d1d4267af (svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore). 14 years ago
alberth a3a8429531 (svn r19766) -Codechange: Store tile height of smallmap contour legend in the LegendAndColour struct. 14 years ago
alberth d822b2969b (svn r19766) -Codechange: Store tile height of smallmap contour legend in the LegendAndColour struct. 14 years ago
rubidium fabbe2a6c9 (svn r19760) -Change: use the {HEIGHT} command for the smallmap legend 14 years ago
rubidium d031034789 (svn r19760) -Change: use the {HEIGHT} command for the smallmap legend 14 years ago
frosch a4413f4cf6 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 14 years ago
frosch 2e90f7f8b9 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 14 years ago
smatz 5e77cefb6a (svn r19580) -Codechange: auto-raise 'Enable/Disable all' buttons in the Smallmap window 14 years ago
smatz 941f0c7056 (svn r19580) -Codechange: auto-raise 'Enable/Disable all' buttons in the Smallmap window 14 years ago
terkhen 8ec9637d42 (svn r19523) -Fix: Prevent drawing industries disabled at the smallmap as land tiles when they are built on water. 14 years ago
terkhen fe0d4253b8 (svn r19523) -Fix: Prevent drawing industries disabled at the smallmap as land tiles when they are built on water. 14 years ago
terkhen bda9ad98c1 (svn r19521) -Codechange: Use a IndustryType array to sort industries by name instead of a LegendAndColour array. 14 years ago
terkhen 217a98e69b (svn r19521) -Codechange: Use a IndustryType array to sort industries by name instead of a LegendAndColour array. 14 years ago
terkhen 876fe18305 (svn r19503) -Feature: Sort industries alphabetically at the smallmap legend. 14 years ago
terkhen 87e7c01343 (svn r19503) -Feature: Sort industries alphabetically at the smallmap legend. 14 years ago
frosch be6c18454a (svn r19481) -Codechange: Turn _industry_counts into a static member of Industry. 14 years ago
frosch 116a5f56a4 (svn r19481) -Codechange: Turn _industry_counts into a static member of Industry. 14 years ago
peter1138 73fdfa40e0 (svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet. 15 years ago
peter1138 1025d003b3 (svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet. 15 years ago
alberth edf0cde4af (svn r19104) -Fix (r19039): Stablize main view centering in smallmap. 15 years ago
alberth dd1c72d39a (svn r19104) -Fix (r19039): Stablize main view centering in smallmap. 15 years ago
alberth b8ae1a0ef5 (svn r19103) -Codechange: Use px/py for pixel coordinates in PixelToTile(), as promised by the documentation. 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 3f46632e76 (svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons. 15 years ago
alberth 464ad6b951 (svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons. 15 years ago
terkhen ad0b94ae44 (svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth). 15 years ago
terkhen 52312ea17f (svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth). 15 years ago
alberth 15021ea7d1 (svn r19052) -Codechange: Remove the _smallmap_draw_procs array. 15 years ago
alberth 76dbdca2f8 (svn r19052) -Codechange: Remove the _smallmap_draw_procs array. 15 years ago
alberth 80555c1d2b (svn r19048) -Codechange: Pass the already queried effective tile type to the GetSmallMapPixels routines. 15 years ago
alberth ec436a7615 (svn r19048) -Codechange: Pass the already queried effective tile type to the GetSmallMapPixels routines. 15 years ago
alberth 3b7253b7a5 (svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines. 15 years ago
alberth 0e97146d4d (svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines. 15 years ago
alberth 582b2001c8 (svn r19046) -Codechange: Move retrieval of tile colour data in smallmap. 15 years ago
alberth 5cd81526d8 (svn r19046) -Codechange: Move retrieval of tile colour data in smallmap. 15 years ago
alberth a69e274c70 (svn r19043) -Doc: Dcoumenting the GetSmallMapPixels typedef. 15 years ago
alberth da2722da36 (svn r19043) -Doc: Dcoumenting the GetSmallMapPixels typedef. 15 years ago
alberth 01467baf35 (svn r19042) -Add: Allow mousewheel zooming in smallmap. 15 years ago
alberth 4cf65e6e81 (svn r19042) -Add: Allow mousewheel zooming in smallmap. 15 years ago
alberth e50091a1e5 (svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps. 15 years ago
alberth a6e8c747c9 (svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps. 15 years ago
alberth 9f802cf2b8 (svn r19040) -Codechange: Introduce inverse function of RemapCoords. 15 years ago
alberth 21589daea9 (svn r19040) -Codechange: Introduce inverse function of RemapCoords. 15 years ago
alberth 004f25fd07 (svn r19039) -Feature: Add zoom-out to smallmap. 15 years ago
alberth db6e077c8a (svn r19039) -Feature: Add zoom-out to smallmap. 15 years ago
alberth d747ac0a0c (svn r19026) -Codechange: Move a constant computation out of the loop. 15 years ago
alberth 3f2c4d744a (svn r19026) -Codechange: Move a constant computation out of the loop. 15 years ago
alberth 8c0488c186 (svn r19025) -Codechange: Rename DrawSmallMapStuff() to DrawSmallMapColumn(). 15 years ago
alberth 32db019d9e (svn r19025) -Codechange: Rename DrawSmallMapStuff() to DrawSmallMapColumn(). 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
alberth 592516f14a (svn r18962) -Fix (r18958, r18961): Code-style, use this explicitly. 15 years ago
alberth 815eede0be (svn r18962) -Fix (r18958, r18961): Code-style, use this explicitly. 15 years ago
alberth 82db479dc5 (svn r18961) -Codechange: Simplifying and unduplicating code in smallmap. 15 years ago
alberth cdc6f5ddc1 (svn r18961) -Codechange: Simplifying and unduplicating code in smallmap. 15 years ago
alberth 3b27dcea0a (svn r18958) -Codechange: Merge smallmap remap functions. 15 years ago
alberth 5c9cb9648b (svn r18958) -Codechange: Merge smallmap remap functions. 15 years ago
alberth 8033357940 (svn r18957) -Doc: Documenting the scroll_x, scroll_y, and subscroll variables of SmallMapWindow. 15 years ago
alberth ab4072ba8d (svn r18957) -Doc: Documenting the scroll_x, scroll_y, and subscroll variables of SmallMapWindow. 15 years ago
alberth ca0c1c400f (svn r18906) -Codechange: Use start and end column position instead of a mask for drawing a column in the smallmap. 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 55d0d54627 (svn r18827) -Fix: Center main window using smallmap widget edge coordinates. 15 years ago
alberth ff11095916 (svn r18827) -Fix: Center main window using smallmap widget edge coordinates. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 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 2a6fc142de (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
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 88286f1e63 (svn r18693) -Doc: Add some doxygen comments to smallmap code. 15 years ago
alberth ab26bfd6a0 (svn r18693) -Doc: Add some doxygen comments to smallmap code. 15 years ago
alberth 745280e41b (svn r18666) -Codechange: Add tooltips to enable/disable all buttons in smallmap. 15 years ago
alberth 4801b17837 (svn r18666) -Codechange: Add tooltips to enable/disable all buttons in smallmap. 15 years ago
alberth b1fb1b253e (svn r18665) -Feature [FS#567]: Allow contour-map to be shown with coloured industries 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 0fd6f9732c (svn r18663) -Codechange (r1): Remove unused _smallmap_vegetation_andor colour masks. 15 years ago
alberth 2ab3e5ab40 (svn r18663) -Codechange (r1): Remove unused _smallmap_vegetation_andor colour masks. 15 years ago
alberth 0e9dac92d2 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 15 years ago
alberth 91872aca48 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 15 years ago
alberth 38733e9870 (svn r18489) -Codechange: Introduce a custom container widget for a resizing legend bar in the smallmap. 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 e57e4f788f (svn r18488) -Codechange: Make number of rows for displaying industries in smallmap legend dynamic. 15 years ago
alberth dd12391f10 (svn r18488) -Codechange: Make number of rows for displaying industries in smallmap legend dynamic. 15 years ago
alberth 17699167a8 (svn r18487) -Codechange: Move row height and column counting to OnInit in the smallmap window as well. 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 d4451d13a0 (svn r18480) -Codechange: Moved column width computation of smallmap legends to OnInit(), added a few doxy comments. 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 f49c1dcd78 (svn r18389) -Fix: some minor documentation alignment issues 15 years ago
rubidium 5c1fdfdd03 (svn r18389) -Fix: some minor documentation alignment issues 15 years ago
rubidium 948512883b (svn r18332) -Fix: the MSVC compile warnings 15 years ago
rubidium 736e0c18cc (svn r18332) -Fix: the MSVC compile warnings 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 8d6e323ef8 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 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 f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth 8139a8d96f (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 15 years ago
alberth bf93372ca2 (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 15 years ago
rubidium ef4e936acb (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 15 years ago
rubidium e9b6e73333 (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 15 years ago
rubidium 6d3fb6290e (svn r18173) -Codechange: make the smallmap RTL aware 15 years ago
rubidium 5a15fbde11 (svn r18173) -Codechange: make the smallmap RTL aware 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 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 7b0106da02 (svn r18087) -Codechange: remove NWID_LAYERED 15 years ago
rubidium 9396a701fe (svn r18087) -Codechange: remove NWID_LAYERED 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 2d24cb363f (svn r18083) -Codechange: make the small map GUI nested. 15 years ago
rubidium 125d369c4e (svn r18083) -Codechange: make the small map GUI nested. 15 years ago
rubidium a66fe3c96c (svn r18082) -Codechange: make it visually easier to see where the different legenda 'tables' are split + some typos 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 ff81b32bad (svn r18080) -Codechange: add some const to the smallmap 15 years ago
rubidium 66e1aafe5b (svn r18080) -Codechange: add some const to the smallmap 15 years ago
rubidium b3394dbeb4 (svn r18030) -Fix: screen jumped a bit for at least SDL and Allegro when right-click-dragging 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 1043abc176 (svn r17881) -Codechange: unify comment style in smallmap_gui.cpp a bit 15 years ago
smatz 18d67f6442 (svn r17881) -Codechange: unify comment style in smallmap_gui.cpp a bit 15 years ago
smatz e895719e96 (svn r17880) -Codechange: pass 'blitter' as parameter instead of determining it again in DrawSmallMapStuff() 15 years ago
smatz 5b8863ea57 (svn r17880) -Codechange: pass 'blitter' as parameter instead of determining it again in DrawSmallMapStuff() 15 years ago
rubidium c1365b3cc1 (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 15 years ago
rubidium ca0521f89f (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 15 years ago
rubidium 51936e1903 (svn r17850) -Codechange: remove most usage of delta on OnResize 15 years ago
rubidium 2f41c0411c (svn r17850) -Codechange: remove most usage of delta on OnResize 15 years ago
smatz b124e9e874 (svn r17835) -Codechange: constify few variables 15 years ago
smatz 79906f7ffe (svn r17835) -Codechange: constify few variables 15 years ago
smatz 92b61b1a4a (svn r17832) -Codechange: make Alberth happier 15 years ago
smatz 396d16e2ec (svn r17832) -Codechange: make Alberth happier 15 years ago
smatz 0b213e866e (svn r17831) -Codechange: move code used for adding map indicators of the smallmap to separate functions 15 years ago
smatz 232d7bc4f4 (svn r17831) -Codechange: move code used for adding map indicators of the smallmap to separate functions 15 years ago
smatz 61474f5c1f (svn r17829) -Codechange: move code used for adding vehicles and town names to minimap to separate functions 15 years ago
smatz b06da82c62 (svn r17829) -Codechange: move code used for adding vehicles and town names to minimap to separate functions 15 years ago
smatz ecdbc151e9 (svn r17825) -Change: 'animate' the 'center to current position' button in SmallMapWindow when pressed 15 years ago
smatz 30ebe379c7 (svn r17825) -Change: 'animate' the 'center to current position' button in SmallMapWindow when pressed 15 years ago
smatz bcc7da4aa1 (svn r17822) -Codechange: move 'extra viewport' code from smallmap_gui.cpp to viewport_gui.cpp 15 years ago
smatz bfedac1166 (svn r17822) -Codechange: move 'extra viewport' code from smallmap_gui.cpp to viewport_gui.cpp 15 years ago
smatz 270aa78257 (svn r17821) -Codechange: make more mathods of SmallMapWindow private 15 years ago
smatz cfbf57a54f (svn r17821) -Codechange: make more mathods of SmallMapWindow private 15 years ago
smatz fef6d1057c (svn r17819) -Codechange: replace magic constant by symbolic constant 15 years ago
smatz 49d0db19a4 (svn r17819) -Codechange: replace magic constant by symbolic constant 15 years ago
rubidium dea1f46636 (svn r17665) -Codechange: make the extra viewport window nested 15 years ago
rubidium 5028e3536b (svn r17665) -Codechange: make the extra viewport window nested 15 years ago
smatz f85b8c4e09 (svn r17596) -Codechange: constify some tables 15 years ago
smatz 114d48e492 (svn r17596) -Codechange: constify some tables 15 years ago
rubidium 2e5596025c (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 15 years ago
rubidium ca91a97826 (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 15 years ago
rubidium da2008ae23 (svn r17506) -Fix [FS#3191]: signs partly drawn out of the rectangle in 4/8x zoom out. 15 years ago
rubidium 1dc2284e0c (svn r17506) -Fix [FS#3191]: signs partly drawn out of the rectangle in 4/8x zoom out. 15 years ago
smatz 09e1ecc8ac (svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile() 15 years ago
smatz ee685c8287 (svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile() 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 770ad0c022 (svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names 15 years ago
rubidium 3fb1506d6d (svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names 15 years ago
rubidium 2df1a2119c (svn r16579) -Codechange: rework smallmap code a bit; remove goto, remove some unneeded variables, return value directly instead of writing it to a variable to later return that 15 years ago
rubidium 20f73b2f50 (svn r16579) -Codechange: rework smallmap code a bit; remove goto, remove some unneeded variables, return value directly instead of writing it to a variable to later return that 15 years ago
smatz e4cbd54748 (svn r16473) -Fix [FS#2934](r16442): show all non-effect vehicles in the minimap, not only effect vehicles 15 years ago
smatz 34f6b8614e (svn r16473) -Fix [FS#2934](r16442): show all non-effect vehicles in the minimap, not only effect vehicles 15 years ago
smatz e419fe6d3f (svn r16442) -Codechange: use new Vehicle accessors at more places 15 years ago
smatz 5a463c8347 (svn r16442) -Codechange: use new Vehicle accessors at more places 15 years ago
alberth 0393a0dea9 (svn r16193) -Codechange: Added nested widgets for smallmap and extra viewport windows. 15 years ago
alberth dfbf698392 (svn r16193) -Codechange: Added nested widgets for smallmap and extra viewport windows. 15 years ago
alberth 6bbfae998a (svn r16192) -Codechange: Moving smallmap and extra viewport widget enums out of the window structs, completing smallmap enum. 15 years ago
alberth b1de51b8d6 (svn r16192) -Codechange: Moving smallmap and extra viewport widget enums out of the window structs, completing smallmap enum. 15 years ago
rubidium 3bd4eeb178 (svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings. 15 years ago
rubidium 7dd677ced2 (svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings. 15 years ago
rubidium 650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 15 years ago
rubidium 53887e07bb (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
alberth bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
alberth 9d2738b9c4 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
rubidium 6d3745a924 (svn r15813) -Codechange: remove the last remnants of the old text drawing API. 16 years ago
rubidium e75e1e62cb (svn r15813) -Codechange: remove the last remnants of the old text drawing API. 16 years ago
smatz d28895c88b (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 16 years ago
smatz af293142fe (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 16 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
rubidium 83888098db (svn r15598) -Fix [FS#2695]: crash when opening viewport while scrolling the map and the mouse 'lands' on the window decoration of the viewport. 16 years ago
rubidium b1c105e77e (svn r15598) -Fix [FS#2695]: crash when opening viewport while scrolling the map and the mouse 'lands' on the window decoration of the viewport. 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
Yexo 6126db001e (svn r15201) -Fix [FS#2565] (r15190): The smallmap tried to get the owner of invalid tiles. 16 years ago
Yexo 01cc5234dc (svn r15201) -Fix [FS#2565] (r15190): The smallmap tried to get the owner of invalid tiles. 16 years ago
rubidium 48c97558f7 (svn r14946) -Fix: copying a location from the extra viewport to the main viewport did not cancel vehicle following 16 years ago
rubidium 61f19b6e3e (svn r14946) -Fix: copying a location from the extra viewport to the main viewport did not cancel vehicle following 16 years ago
rubidium c0e7434f38 (svn r14944) -Cleanup: add spaces around some operators 16 years ago
rubidium cda853872a (svn r14944) -Cleanup: add spaces around some operators 16 years ago
rubidium 27187e5a69 (svn r14567) -Revert (part of 14566): don't commit testing stuff... 16 years ago
rubidium 13ee151a69 (svn r14567) -Revert (part of 14566): don't commit testing stuff... 16 years ago
rubidium 0b3706a8d3 (svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the 'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali) 16 years ago
rubidium c7f3935506 (svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the 'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali) 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
rubidium dd927661cf (svn r14243) -Fix [FS#2269]: clicking on the smallmap didn't break the "follow vehicle in main viewport". 16 years ago
rubidium 236c613365 (svn r14243) -Fix [FS#2269]: clicking on the smallmap didn't break the "follow vehicle in main viewport". 16 years ago
peter1138 b1dd8f9334 (svn r14000) -Codechange: Missing enum entries kind of defeat the point of the enum 16 years ago
peter1138 ddd8b73f0a (svn r14000) -Codechange: Missing enum entries kind of defeat the point of the enum 16 years ago
peter1138 8018aeac9f (svn r13987) -Codechange: Resize small map legend dynamically on window resize and when switching small map types, so that the legend is taller only on the industry type and only when the legend will not fit in the available space. 16 years ago
peter1138 a822e259c5 (svn r13987) -Codechange: Resize small map legend dynamically on window resize and when switching small map types, so that the legend is taller only on the industry type and only when the legend will not fit in the available space. 16 years ago
peter1138 f02671e0f4 (svn r13984) -Codechange: Simplify industry legend on small map, by automatically splitting columns based on widget height. 16 years ago
peter1138 63cd8fc24f (svn r13984) -Codechange: Simplify industry legend on small map, by automatically splitting columns based on widget height. 16 years ago
peter1138 85accd400b (svn r13980) -Codechange: Turn small map legend while loop into a for-loop. 16 years ago
peter1138 e1451e1124 (svn r13980) -Codechange: Turn small map legend while loop into a for-loop. 16 years ago
peter1138 99771c63ba (svn r13979) -Codechange: Use widget dimensions instead of magic number incantations for limiting small map area. 16 years ago
peter1138 29ba35df7b (svn r13979) -Codechange: Use widget dimensions instead of magic number incantations for limiting small map area. 16 years ago
peter1138 efcc875036 (svn r13978) -Fix: Incorrect widget size. 16 years ago
peter1138 65f26bb737 (svn r13978) -Fix: Incorrect widget size. 16 years ago
peter1138 6e4144f84b (svn r13975) -Codechange: Replace some globals used by the small map window with static members of the window. 16 years ago
peter1138 a5453e43b1 (svn r13975) -Codechange: Replace some globals used by the small map window with static members of the window. 16 years ago
peter1138 755b149902 (svn r13921) -Codechange (r11473): Use the correct enum... 16 years ago
peter1138 b92520ddfd (svn r13921) -Codechange (r11473): Use the correct enum... 16 years ago
belugas e8be25baa6 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 16 years ago
belugas 10f450e2d4 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 3a799389eb (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
rubidium 923e21129c (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
peter1138 48e20d8012 (svn r13323) -Codechange: scrollbars are not refresh counters 16 years ago
peter1138 2a816fb685 (svn r13323) -Codechange: scrollbars are not refresh counters 16 years ago
rubidium d289464d69 (svn r13255) -Codechange: move _opt to _settings. 16 years ago
rubidium 8c9cc415e3 (svn r13255) -Codechange: move _opt to _settings. 16 years ago
frosch 8f104a2e97 (svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
16 years ago
frosch 6e7a7412cd (svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
16 years ago