summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
AgeCommit message (Collapse)Author
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.
2008-09-28(svn r14409) -Codechange: Simplify a loop and correct a comment.frosch
2008-09-02(svn r14223) -Codechange: make GetSprite aware of the 4 different types of ↵rubidium
sprites: fonts, recolour, mapgen and normal sprites.
2008-09-02(svn r14221) -Fix: signs (town name, station name, ...) could be too long ↵smatz
for 8bit width in pixels
2008-08-23(svn r14139) -Fix (r12044): GetSlopeZ() gets a virtual coordinate, not a tile.frosch
2008-08-20(svn r14104) -Feature: Add a window for waypoints, allowing to view all the ↵belugas
trains having the selected waypoint in their orders. Changing its name is also supported from the same new window. Gui based on work done by Satyap, on FS#2025.
2008-08-04(svn r13991) -Codechange: draw text effects after all other signssmatz
2008-08-02(svn r13922) -Codechange: Move measurement-tooltip related stuff out of the ↵frosch
general tooltip window.
2008-07-31(svn r13891) -Fix (r12547): one could click on waypoint and station signs ↵smatz
even when they were invisible
2008-06-19(svn r13575) -Codechange: Move small vector to core since it fits better in ↵skidd13
there -Codechange: convert smallvector from struct to class
2008-06-19(svn r13573) -Codechange: Use smallvec class functions instead of class membersskidd13