frosch
ed27cec094
(svn r27620) -Codechange: Inline GetEffectiveTileType (adf88)
2016-07-22 21:29:04 +00:00
frosch
bd6799a9f8
(svn r27620) -Codechange: Inline GetEffectiveTileType (adf88)
2016-07-22 21:29:04 +00:00
Jonathan G Rennison
19764bb4fb
Merge branch 'enhanced_viewport_overlay-sx' into jgrpp
2015-08-11 21:41:58 +01:00
Jonathan G Rennison
388dab7390
Merge branch 'master' into enhanced_viewport_overlay
...
Conflicts:
src/road_gui.cpp
src/widgets/dropdown.cpp
2015-08-11 21:41:41 +01:00
michi_cc
2b8bb12d62
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
2015-08-10 20:24:13 +00:00
michi_cc
44918010df
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
2015-08-10 20:24:13 +00:00
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
2015-08-05 21:54:11 +01:00
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
2015-08-05 21:25:13 +01:00
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
2015-08-05 21:24:30 +01:00
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
2015-08-04 01:26:32 +01:00
frosch
5e47c27550
(svn r27277) -Codechange: Make _displayed_industries a std::bitset.
2015-05-09 09:24:19 +00:00
frosch
4a6036208a
(svn r27277) -Codechange: Make _displayed_industries a std::bitset.
2015-05-09 09:24:19 +00:00
frosch
cfac8dbbc6
(svn r27160) -Fix: Division of signed values by TILE_SIZE requires cast to stay signed.
2015-02-22 14:14:30 +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
fc72d3dc8f
(svn r27159) -Codechange: Simplify mapping from smallmap to viewport coordinates by duplicating less code.
2015-02-22 14:12:34 +00:00
frosch
7dee16a9b9
(svn r27159) -Codechange: Simplify mapping from smallmap to viewport coordinates by duplicating less code.
2015-02-22 14:12:34 +00:00
frosch
06d1d50884
(svn r27158) -Codechange: Simplify mapping from viewport to smallmap coordinates by duplicating less code.
2015-02-22 14:10:44 +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
rubidium
1149f7be46
(svn r27036) -Fix [FS#6148] (r26928): crash when changing smallmap colour when the smallmap window has not been opened yet
2014-10-23 10:50:34 +00:00
rubidium
1d27ae9bda
(svn r27036) -Fix [FS#6148] (r26928): crash when changing smallmap colour when the smallmap window has not been opened yet
2014-10-23 10:50:34 +00:00
rubidium
367150ba34
(svn r26929) -Change: accounts for maximum height when filling the height legend of the smallmap
2014-09-27 14:49:37 +00:00
rubidium
9627eb6e17
(svn r26929) -Change: accounts for maximum height when filling the height legend of the smallmap
2014-09-27 14:49:37 +00:00
rubidium
4b8d6ee319
(svn r26928) -Change: scale the heightmap colours over the whole range of heights (based on patch by ic111)
2014-09-27 11:17:54 +00:00
rubidium
0176ef274f
(svn r26928) -Change: scale the heightmap colours over the whole range of heights (based on patch by ic111)
2014-09-27 11:17:54 +00:00
rubidium
ae406cf52e
(svn r26927) -Codechange: split the heightmap colour tables into their own file in the table folder
2014-09-27 10:43:59 +00:00
rubidium
f192045796
(svn r26927) -Codechange: split the heightmap colour tables into their own file in the table folder
2014-09-27 10:43:59 +00:00
rubidium
11e9afdf5e
(svn r26904) -Fix: account for the height level for showing the seen area in the viewport (ic111)
2014-09-21 18:07:54 +00:00
rubidium
03b731f929
(svn r26904) -Fix: account for the height level for showing the seen area in the viewport (ic111)
2014-09-21 18:07:54 +00:00
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.
2014-09-20 10:23:38 +00:00
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.
2014-09-20 10:23:38 +00: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
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
2014-04-23 20:13:33 +00:00
fonsinchen
ced1bfa60f
(svn r26266) -Fix [FS#5860]: Update smallmap overlay if player joins different company and make sure company masks are valid
2014-01-19 09:26:56 +00:00
fonsinchen
b158c7d0fa
(svn r26266) -Fix [FS#5860]: Update smallmap overlay if player joins different company and make sure company masks are valid
2014-01-19 09:26:56 +00:00
fonsinchen
b4a889fcb4
(svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row
2014-01-19 09:26:17 +00:00
fonsinchen
be62387e44
(svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row
2014-01-19 09:26:17 +00:00
fonsinchen
6becaddec2
(svn r26228) -Fix: missing variable initialization
2014-01-05 11:28:31 +00:00
fonsinchen
014813141d
(svn r26228) -Fix: missing variable initialization
2014-01-05 11:28:31 +00:00
rubidium
4a911754b5
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
2618d960e3
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
519cb3e103
(svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever
2013-11-26 13:21:25 +00:00
rubidium
50fdf5e30c
(svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever
2013-11-26 13:21:25 +00:00
rubidium
e4b208c069
(svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases
2013-11-23 13:17:45 +00:00
rubidium
78a316d349
(svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases
2013-11-23 13:17:45 +00:00
frosch
0d5ab589fe
(svn r25916) -Add: GUI sprite for the smallmap cargoflow button. (frosch, planetmaker, V453000)
2013-10-27 15:09:41 +00:00
frosch
103b6fffbb
(svn r25916) -Add: GUI sprite for the smallmap cargoflow button. (frosch, planetmaker, V453000)
2013-10-27 15:09:41 +00:00
rubidium
2b2706009e
(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w
2013-06-01 07:44:53 +00:00
rubidium
f292a87dc4
(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w
2013-06-01 07:44:53 +00:00
frosch
13badddd75
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
2013-05-26 19:30:07 +00:00
frosch
4e4e635916
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
2013-05-26 19:30:07 +00:00