michi_cc
2b8bb12d62
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
9 years ago
michi_cc
44918010df
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
9 years ago
Jonathan G Rennison
7ed93f9211
Merge branch 'enhanced_viewport_overlay-sx' into jgrpp
...
town_gui.cpp updated due to struct CommandContainer change.
Conflicts:
src/command.cpp
src/command_type.h
src/gfxinit.cpp
src/openttd.cpp
src/pbs.cpp
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/saveload/saveload.cpp
src/stdafx.h
src/train_cmd.cpp
src/viewport_type.h
src/window_type.h
9 years ago
Jonathan G Rennison
e24839ed65
Merge branch 'master' into enhanced_viewport_overlay
...
Notes on conflict resolution:
* MarkTileDirtyByTile gained an extra param on both sides of the merge
Move bridge level offset to be after zoom level param, as it's used less.
* Add zoom level params to MarkBridgeDirty functions
* Fix undefined behaviour in colour_index cycling in ViewportMapDraw
Conflicts:
src/clear_cmd.cpp
src/pbs.cpp
src/rail_cmd.cpp
src/toolbar_gui.cpp
src/train_cmd.cpp
src/vehicle.cpp
src/viewport.cpp
src/viewport_func.h
9 years ago
patch-import
536a95dfd0
Import combined Enhanced viewport: zoom out, overlays & tooltips (r53_27127) patch
...
https://www.tt-forums.net/viewtopic.php?f=33&t=53394
9 years ago
Jonathan G Rennison
948b4e1d5e
Implement taking smallmap screenshots.
...
This is largely based on this patch:
http://www.tt-forums.net/viewtopic.php?p=849533#p849533
with the following changes:
* this uses a button in the smallmap window instead of a console command
* screenshot now uses zoom level and mode of smallmap window
9 years ago
frosch
5e47c27550
(svn r27277) -Codechange: Make _displayed_industries a std::bitset.
9 years ago
frosch
4a6036208a
(svn r27277) -Codechange: Make _displayed_industries a std::bitset.
9 years ago
frosch
cfac8dbbc6
(svn r27160) -Fix: Division of signed values by TILE_SIZE requires cast to stay signed.
9 years ago
frosch
d35670aa2a
(svn r27160) -Fix: Division of signed values by TILE_SIZE requires cast to stay signed.
9 years ago
frosch
fc72d3dc8f
(svn r27159) -Codechange: Simplify mapping from smallmap to viewport coordinates by duplicating less code.
9 years ago
frosch
7dee16a9b9
(svn r27159) -Codechange: Simplify mapping from smallmap to viewport coordinates by duplicating less code.
9 years ago
frosch
06d1d50884
(svn r27158) -Codechange: Simplify mapping from viewport to smallmap coordinates by duplicating less code.
9 years ago
frosch
79380a566e
(svn r27158) -Codechange: Simplify mapping from viewport to smallmap coordinates by duplicating less code.
9 years ago
rubidium
1149f7be46
(svn r27036) -Fix [FS#6148] (r26928): crash when changing smallmap colour when the smallmap window has not been opened yet
10 years ago
rubidium
1d27ae9bda
(svn r27036) -Fix [FS#6148] (r26928): crash when changing smallmap colour when the smallmap window has not been opened yet
10 years ago
rubidium
367150ba34
(svn r26929) -Change: accounts for maximum height when filling the height legend of the smallmap
10 years ago
rubidium
9627eb6e17
(svn r26929) -Change: accounts for maximum height when filling the height legend of the smallmap
10 years ago
rubidium
4b8d6ee319
(svn r26928) -Change: scale the heightmap colours over the whole range of heights (based on patch by ic111)
10 years ago
rubidium
0176ef274f
(svn r26928) -Change: scale the heightmap colours over the whole range of heights (based on patch by ic111)
10 years ago
rubidium
ae406cf52e
(svn r26927) -Codechange: split the heightmap colour tables into their own file in the table folder
10 years ago
rubidium
f192045796
(svn r26927) -Codechange: split the heightmap colour tables into their own file in the table folder
10 years ago
rubidium
11e9afdf5e
(svn r26904) -Fix: account for the height level for showing the seen area in the viewport (ic111)
10 years ago
rubidium
03b731f929
(svn r26904) -Fix: account for the height level for showing the seen area in the viewport (ic111)
10 years ago
peter1138
657c108d32
(svn r26858) -Codechange: Rearrange smallmap filter and settings expand/collapse buttons to fix frame borders and allow buttons to fit height of resize button.
10 years ago
peter1138
e353ef5908
(svn r26858) -Codechange: Rearrange smallmap filter and settings expand/collapse buttons to fix frame borders and allow buttons to fit height of resize button.
10 years ago
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
10 years ago
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
10 years ago
fonsinchen
ced1bfa60f
(svn r26266) -Fix [FS#5860]: Update smallmap overlay if player joins different company and make sure company masks are valid
11 years ago
fonsinchen
b158c7d0fa
(svn r26266) -Fix [FS#5860]: Update smallmap overlay if player joins different company and make sure company masks are valid
11 years ago
fonsinchen
b4a889fcb4
(svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row
11 years ago
fonsinchen
be62387e44
(svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row
11 years ago
fonsinchen
6becaddec2
(svn r26228) -Fix: missing variable initialization
11 years ago
fonsinchen
014813141d
(svn r26228) -Fix: missing variable initialization
11 years ago
rubidium
4a911754b5
(svn r26209) -Codechange: remove some template magic and simplify some code
11 years ago
rubidium
2618d960e3
(svn r26209) -Codechange: remove some template magic and simplify some code
11 years ago
rubidium
519cb3e103
(svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever
11 years ago
rubidium
50fdf5e30c
(svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever
11 years ago
rubidium
e4b208c069
(svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases
11 years ago
rubidium
78a316d349
(svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases
11 years ago
frosch
0d5ab589fe
(svn r25916) -Add: GUI sprite for the smallmap cargoflow button. (frosch, planetmaker, V453000)
11 years ago
frosch
103b6fffbb
(svn r25916) -Add: GUI sprite for the smallmap cargoflow button. (frosch, planetmaker, V453000)
11 years ago
rubidium
2b2706009e
(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w
11 years ago
rubidium
f292a87dc4
(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w
11 years ago
frosch
13badddd75
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
11 years ago
frosch
4e4e635916
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
11 years ago
frosch
16feb5c4e9
(svn r25290) -Add: Assign string names to notable windows.
11 years ago
frosch
8157a8afd8
(svn r25290) -Add: Assign string names to notable windows.
11 years ago
frosch
25adefca23
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
11 years ago
frosch
56e4a8c4d6
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
11 years ago
rubidium
2a6d21dc80
(svn r25262) -Feature: linkgraph overlay for smallmap
11 years ago
rubidium
163dfdd34a
(svn r25262) -Feature: linkgraph overlay for smallmap
11 years ago
rubidium
5d6c2aac38
(svn r25020) -Codechange: refactor SmallMapWindow to make adding map types easier and unduplicate some code (fonsinchen)
12 years ago
rubidium
52aeef1a79
(svn r25020) -Codechange: refactor SmallMapWindow to make adding map types easier and unduplicate some code (fonsinchen)
12 years ago
rubidium
7fe2af5fd3
(svn r25019) -Fix: GCC doesn't seem to care if one does Class::Class::Function (thinks it is a function), whereas MSVC thinks it is the constructor
12 years ago
rubidium
dfdced2239
(svn r25019) -Fix: GCC doesn't seem to care if one does Class::Class::Function (thinks it is a function), whereas MSVC thinks it is the constructor
12 years ago
rubidium
b5a8bfa4b9
(svn r25018) -Codechange: Move SmallMapWindow declaration to header (fonsinchen)
12 years ago
rubidium
6b68956969
(svn r25018) -Codechange: Move SmallMapWindow declaration to header (fonsinchen)
12 years ago
rubidium
bb9753924d
(svn r24958) -Fix [FS#5458]: refering to non-existent method
12 years ago
rubidium
a6ae4ea8a2
(svn r24958) -Fix [FS#5458]: refering to non-existent method
12 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
frosch
336a93a9d8
(svn r24846) -Add: Advanced settings to disable certain sound effects.
12 years ago
frosch
3ce8d2ce70
(svn r24846) -Add: Advanced settings to disable certain sound effects.
12 years ago
frosch
3b06409153
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
12 years ago
frosch
03736af2ae
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
12 years ago
frosch
e83a41e9b5
(svn r24534) -Feature: Highlight industries on the smallmap when the mouse is over an entry in the legend.
12 years ago
frosch
89988c6163
(svn r24534) -Feature: Highlight industries on the smallmap when the mouse is over an entry in the legend.
12 years ago
frosch
942b40970f
(svn r24533) -Codechange: Move position determination on minimap legend to separate function.
12 years ago
frosch
a4f22a2de1
(svn r24533) -Codechange: Move position determination on minimap legend to separate function.
12 years ago
rubidium
76d5833650
(svn r24179) -Codechange: move some variables of Town to TownCache
12 years ago
rubidium
41e5c839e0
(svn r24179) -Codechange: move some variables of Town to TownCache
12 years ago
alberth
06597e684c
(svn r23704) -Doc: Doxygen comment fixes and additions.
13 years ago
alberth
4af8c2d5e1
(svn r23704) -Doc: Doxygen comment fixes and additions.
13 years ago
truebrain
aa1a0053b0
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
13 years ago
truebrain
1c9bec1999
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
13 years ago
truebrain
feddd40bcc
(svn r23546) -Codechange: document and rename widgets to be consistent and understandable
13 years ago
truebrain
9266bde593
(svn r23546) -Codechange: document and rename widgets to be consistent and understandable
13 years ago
truebrain
49e88dcbf0
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
13 years ago
truebrain
2aa774e831
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
13 years ago
peter1138
b84174fd4d
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
13 years ago
peter1138
81598273e9
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
13 years ago
frosch
856db2751a
(svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names.
13 years ago
frosch
3eddb9c23f
(svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names.
13 years ago
frosch
43f7d6c0b7
(svn r22433) -Add/Fix: Add constants for the palette colours used in the smallmap and fix some windows palette indices.
13 years ago
frosch
83c5f77810
(svn r22433) -Add/Fix: Add constants for the palette colours used in the smallmap and fix some windows palette indices.
13 years ago
frosch
a36ccb0e07
(svn r22432) -Codechange: Simplify smallmap colour constants using some more specialised macros.
13 years ago
frosch
c2be206cd9
(svn r22432) -Codechange: Simplify smallmap colour constants using some more specialised macros.
13 years ago
frosch
7b251297c9
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
13 years ago
frosch
5e449b8fae
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
13 years ago
michi_cc
b339fdae41
(svn r22428) -Codechange: Reduce code duplication in the smallmap legend.
13 years ago
michi_cc
4b0a2fbe29
(svn r22428) -Codechange: Reduce code duplication in the smallmap legend.
13 years ago
frosch
7cc3d3e143
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
13 years ago
frosch
22286bd7b6
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
13 years ago
rubidium
6e9122828e
(svn r22406) -Document: some more "random-ish" tidbits
13 years ago
rubidium
5a620d1c65
(svn r22406) -Document: some more "random-ish" tidbits
13 years ago
frosch
4b4a40a72e
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
13 years ago
frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
13 years ago
terkhen
c407dda851
(svn r22127) -Fix: Canals would get drawn as land in the smallmap when using the owner window.
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
291ef7e082
(svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings.
14 years ago
frosch
9e1695aa1e
(svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings.
14 years ago
terkhen
1f75b91654
(svn r21830) -Fix: Deunionize a union which was not initialized correctly.
14 years ago
terkhen
ff6aeb8791
(svn r21830) -Fix: Deunionize a union which was not initialized correctly.
14 years ago
terkhen
0152ea53c8
(svn r21813) -Fix [FS#4411](r21720): Prevent crash when displaying the owner view.
14 years ago
terkhen
4d8a93c870
(svn r21813) -Fix [FS#4411](r21720): Prevent crash when displaying the owner view.
14 years ago
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