summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
AgeCommit message (Collapse)Author
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.
2009-03-15(svn r15725) -Fix: centering on a vehicle didn't respect its z coordinatesmatz
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-27(svn r15593) -Change: the background of the the waypoint sign is now in the ↵yexo
company color.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-02-08(svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge ↵rubidium
building w.r.t. tile selection and when the window should be closed.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-21(svn r15199) -Fix (r15190): The south point of the south-most tile wasn't ↵Yexo
highlighted during terraforming.
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-19(svn r15151) -Fix: tile 0 can now be highlighted as error tileYexo
2009-01-19(svn r15150) -Fix: Don't highlight tiles outside the visible map.Yexo
2009-01-13(svn r15065) -Change (r14919): Allow to select a new station location by ↵frosch
ctrl-clicking while distant-join window is open. (PhilSophus)
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-09(svn r14947) -Fix [FS#2519]: vehicle following did not update the location ↵rubidium
from where to smooth scroll, thus any new viewport center would smooth scroll from the location where you were just before you started following the vehicle
2009-01-09(svn r14944) -Cleanup: add spaces around some operatorsrubidium
2009-01-08(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)rubidium
2009-01-07(svn r14905) -Fix (r14899): in some corner cases already freed memory could ↵rubidium
be read.
2009-01-07(svn r14899) -Feature: remove the window limit, but leave a configurable ↵rubidium
limit on the number of non-sticky non-vital windows. -Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
2009-01-07(svn r14884) -Codechange: simplify code responsible for opening vehicle view ↵smatz
windows
2009-01-06(svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes ↵rubidium
(from back to front or vice versa) and make it iterate over the Window* instead of Window**.
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-03(svn r14806) -Fix: MarkAllViewportsDirty() didn't mark dirty whole area when ↵smatz
zoomed out, visible by aircraft leaving trails sometimes
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-10-14(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter ↵rubidium
names in comments and add a little more doxygen documentation.
2008-10-13(svn r14461) -Document: add some doxygen comments (Albert)rubidium
2008-10-04(svn r14439) -Fix (r12044)(r14139): centering on a plane at the SE border ↵smatz
could cause crash
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.