summaryrefslogtreecommitdiff
path: root/src/viewport_func.h
AgeCommit message (Collapse)Author
2020-07-27Codechange: Spell 'Viewport' consistentlyTechGeekNZ
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
2020-01-12Codechange: Cache resolved town, station and industry name stringsJonathan G Rennison
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-25Feature: Add station coverage area display for towns.peter1138
2019-04-25Feature: Add coverage area display for existing stations.peter1138
2019-04-24Change: Zoom title game by UI zoom levelNiels Martin Hansen
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-01-24Codechange: Simplify marking tiles dirty when terraforming (Patch by adf88, ↵Johannes E. Krause
#6583)
2015-02-22(svn r27161) -Fix [FS#6156] [FS#6206]: Reimplement the viewport drawing ↵frosch
algorithm.
2015-02-22(svn r27158) -Codechange: Simplify mapping from viewport to smallmap ↵frosch
coordinates by duplicating less code.
2015-02-22(svn r27157) -Fix: Mark bridge middle tiles dirty when ↵frosch
building/removing/changing bridges.
2014-09-21(svn r26900) -Fix-ish: dirty the appropriate area around map edges when ↵rubidium
terraforming there to prevent any artefacts from occuring (ic111)
2014-09-21(svn r26899) -Codechange: reduce the amount of tiles that needs to be drawn ↵rubidium
by taking the height of tiles into account instead of drawing way too many (ic111)
2013-05-19(svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen)rubidium
2011-11-25(svn r23329) -Fix (r23316): Scale child sprite pixel offsets unless told not ↵peter1138
to. Fixes lifts and industry graphics.
2011-02-07(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.hrubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-18(svn r21843) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [t-z].
2010-11-20(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.alberth
2010-10-23(svn r21020) -Add: Use center of waypoint in waypoint gui, if available.alberth
2010-09-07(svn r20761) -Codechange: make PlaceObject() staticsmatz
2010-09-07(svn r20760) -Cleanup (r20753): remove unused CheckMouseOverVehicle()smatz
2010-05-13(svn r19807) -Codechange: instead of having an unnamed enum and passing it ↵rubidium
as an int, name the enum and pass that
2010-05-07(svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured ↵alberth
heights (ChillCore).
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-03(svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with ↵frosch
foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
2009-12-22(svn r18602) -Codechange: unify the viewport sign and text effect drawingrubidium
-Fix [FS#3394]: signs could occasionally glitch
2009-12-13(svn r18486) -Fix: when switching language and you're getting a different ↵rubidium
font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap)
2009-11-29(svn r18343) -Fix [FS#3336] (r18243): dark blue signs would be drawn transparentrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-08(svn r16764) -Codechange: unify the way viewport signs are marked dirtyrubidium
2009-07-07(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function ↵rubidium
of ViewportSign
2009-06-07(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. ↵frosch
childsprite of foundation/bridgehead.
2009-03-15(svn r15725) -Fix: centering on a vehicle didn't respect its z coordinatesmatz
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-01-02(svn r14789) -Feature: allow scrolling with the left mouse button pressed ↵rubidium
(if enabled). Primarily useful for systems with touch screen (aapo)
2008-05-08(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.rubidium
2008-05-08(svn r13009) -Codechange: move more tile highlighting related ↵rubidium
functions/types to tilehighlight_*.h.
2008-05-07(svn r12987) -Codechange: split viewport and tile selection.rubidium
2008-04-19(svn r12789) -Codechange: rename AssignWindowViewport to ↵rubidium
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-17(svn r12749) -Codechange: store the viewport information in the windows that ↵rubidium
have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport.
2008-04-16(svn r12734) -Codechange: use a vector instead of allocating memory in a big ↵rubidium
byte array for StringSpriteToDraw.
2008-01-21(svn r11939) -Codechange: some type fixes and very initial steps into ↵rubidium
supporting NDS by default. Based on work by Dominik.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-09(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium