summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
AgeCommit message (Collapse)Author
2010-04-18(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer ↵frosch
divisions with rounding.
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-02-04(svn r19005) -Codechange: make animated cursors have a bit set instead of ↵rubidium
using negative numbers that are passed as uints, then cast again to be compared as ints before being inverted to be actually used. Also fixes a couple of 'integer conversion resulted in truncation' warnings ICC spewed.
2010-02-01(svn r18984) -Add: Viewport place methods for dragging a line with limited size.terkhen
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
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.
2010-01-01(svn r18683) -Fix: it's not an otherrubidium
2009-12-23(svn r18614) -Fix [FS#3412](r18602): too many signs were drawn, causing ↵smatz
slowdowns
2009-12-22(svn r18602) -Codechange: unify the viewport sign and text effect drawingrubidium
-Fix [FS#3394]: signs could occasionally glitch
2009-11-30(svn r18351) -Fix [FS#3333]: endianness issue with saving the zoom levelrubidium
2009-11-29(svn r18343) -Fix [FS#3336] (r18243): dark blue signs would be drawn transparentrubidium
2009-11-22(svn r18246) -Codechange: Make signs and station/town names big font aware.frosch
2009-11-22(svn r18245) -Codechange: Deduplicate code wrt. clicking on signs and ↵frosch
station/town names.
2009-11-22(svn r18243) -Codechange: Deduplicate code wrt. drawing signs and ↵frosch
station/town names.
2009-11-03(svn r17963) -Codechange: some documentation stylerubidium
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-02(svn r17682) -Codechange: remove erroneous space before some commasrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-11(svn r17506) -Fix [FS#3191]: signs partly drawn out of the rectangle in 4/8x ↵rubidium
zoom out.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-14(svn r17171) -Doc: Additions and corrections of various doxygen strings.alberth
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-29(svn r16984) -Codechange: Document and assertify (Start|End)SpriteCombine.frosch
2009-07-26(svn r16960) -Doc: Added some viewport and vehicle type doxygen strings.alberth
2009-07-25(svn r16950) -Codechange: unduplicate waypoint + station sign drawingrubidium
2009-07-25(svn r16949) -Codechange: unify the way the DisplayOption enums are writtenrubidium
2009-07-25(svn r16948) -Codechange: some code reductions and usage of wrapper functionsrubidium
2009-07-24(svn r16934) -Codechange: introduce a simple helper function to check ↵rubidium
whether a station is pending deletion or not
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-16(svn r16850) -Codechange: unify some naming of variables between waypoints ↵rubidium
and stations.
2009-07-13(svn r16825) -Codechange: unify dirtying when updating the viewport signs.rubidium
2009-07-08(svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self ↵rubidium
explaining names
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-08(svn r16536) -Fix (r16535): W != Sfrosch
2009-06-08(svn r16535) -Fix (r16146): In one case a too small portion of the screen ↵frosch
was marked dirty, when (un-)drawing selections.
2009-06-07(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. ↵frosch
childsprite of foundation/bridgehead.
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-04-26(svn r16155) -Codechange: remove MarkTileDirty, use MarkTileDirtyByTile insteadsmatz
2009-04-25(svn r16146) -Codechange: use faster algorithm in SetSelectionTilesDirty(). ↵smatz
Up to 1000 times faster when large area is selected
2009-04-24(svn r16136) -Fix (r16095)[FS#2858]: sometimes autorail wouldn't work; seems ↵rubidium
to be primarily for OSX users though
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-19(svn r16095) -Change/Feature-ish: make the first 4 rail building tools ↵rubidium
behave more like autorail
2009-04-19(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-04-18(svn r16086) -Codechange: magic numbers substitutes by enums and some type ↵rubidium
safety
2009-04-01(svn r15908) -Fix: off-by-one in viewport strings/flags; left + width != rightrubidium
2009-03-22(svn r15824) -Fix: determine the actual length of the strings to draw in the ↵rubidium
viewport
2009-03-22(svn r15804) -Fix (r15796): viewport strings weren't properly 'rendered'.rubidium
-Codechange: use the new string drawing API for the viewport.