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
frosch
c37ee53ecc
(svn r27200) -Feature/Fix [FS#6260]: [NewGRF] Add Misc. GRF Feature Flag 6 to enable the second rocky tile set.
9 years ago
frosch
0a10fce8f1
(svn r27117) -Fix/Feature: Make use of both rocky tile sets from the base graphics.
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
zuu
27b153d16a
(svn r25852) -Codechange: Merge GetFenceXX/SetFenceXX into one common GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro)
11 years ago
zuu
7e75a99cea
(svn r25851) -Codechange: Avoid recalculations in DrawClearLandFence (cirdan, LordAro)
11 years ago
zuu
e124838db5
(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
11 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
yexo
f884be58e5
(svn r23724) -Codechange: split of the check to see if ambient sounds are enabled to a header file allowing compilers to inline that check
13 years ago
yexo
0566a6cfda
(svn r23168) -Feature [FS#1824]: always draw fences around field tiles
13 years ago
yexo
36e61e08b3
(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions
13 years ago
michi_cc
84a103e112
(svn r23114) -Feature: [NewGRF] Ambient sound effect callback.
13 years ago
rubidium
fb9fb416a1
(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well
13 years ago
rubidium
70faeeaba9
(svn r23106) -Codechange: pass int* to GetTileSlope and friends
13 years ago
rubidium
1a54b7733c
(svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT
13 years ago
rubidium
a70fdbcf2f
(svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code
13 years ago
rubidium
de980ef0f9
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
13 years ago
rubidium
41223c8bc9
(svn r23084) -Codechange: get rid of a redundant variable
13 years ago
rubidium
3cb12ed89c
(svn r22019) -Codechange: s/functions.h/clear_func.h/
14 years ago
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
035d0ef16b
(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
14 years ago
smatz
85ac1eb4d7
(svn r19768) -Fix: half-desert tiles would never revert back to clear tiles
14 years ago
yexo
d31d15ec00
(svn r18945) -Codechange: typo
15 years ago
smatz
4655855d46
(svn r18856) -Codechange: do not call GetSlopeZInCorner() when there's no fence to draw
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
yexo
0de753ee07
(svn r18728) -Fix: don't mark all tiles dirty in the artic tileloop
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
frosch
bf3fa7522b
(svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
15 years ago
alberth
6704b21440
(svn r18670) -Fix [FS#3455]: Update all tiles when snowline height changes in larger steps than one tile.
15 years ago
frosch
040404c5d3
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
smatz
f85b8c4e09
(svn r17596) -Codechange: constify some tables
15 years ago
yexo
d384908d56
(svn r17455) -Codechange: use sprite names instead of magic numbers in table/clear_land.h and change some names
15 years ago
rubidium
99d46e0ad7
(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
smatz
837b3628d9
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
15 years ago
smatz
bd208c30e0
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
15 years ago
smatz
5d301445a2
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
15 years ago
smatz
0f76a15344
(svn r16549) -Codechange: use bool in TileLoopClearHelper
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
5c8cf85613
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
Yexo
e3c69b7c4e
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
16 years ago
rubidium
28ea38ae55
(svn r14949) -Cleanup: pointer coding style
16 years ago
rubidium
d3144b6f04
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
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
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