summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
AgeCommit message (Collapse)Author
2008-01-25(svn r11983) -Codechange: Add some helper functions for slopes and use them.frosch
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-16(svn r11643) -Codechange: conform with the coding style for the WP macro uses.rubidium
2007-12-13(svn r11629) -Fix [FS#1527]: many viewports could crash the scenario editor.rubidium
2007-12-07(svn r11588) -Codechange: use the new member introduced in r11551glx
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-26(svn r11526) -Codechange: Rename the function delta fitting to the naming styleskidd13
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-24(svn r11507) -Fix [FS#1463]: signs totally illegible when transparant signs ↵rubidium
is turned on and zoomed out more than one level.
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11476) -Codechange: rename the function myabs to abs to get rid of an ↵skidd13
unneeded define
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-18(svn r11471) -Codechange: one more variable retyped to enum ↵smatz
ViewportHighlightMode
2007-11-18(svn r11465) -Fix: more user-friedly placement in X and Y directions (most ↵smatz
noticeable with autoroad)
2007-11-18(svn r11456) -Fix [FS#1412] (r10070): Viewport is bound to its top-left cornersmatz
2007-11-15(svn r11440) -Codechange: replace magic numbers with enumified ↵rubidium
WindowHighlightMode constants. Patch by SmatZ.
2007-11-15(svn r11439) -Codechange: replace some magic numbers by a ↵rubidium
ViewportPlaceMethod enumified constant. Patch by SmatZ.
2007-11-10(svn r11399) -Feature(ette): transparency settings can now be saved and thus ↵belugas
remembered. -Codechange: Wrap all transparency settings in accessors, hiding the implementation -Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui. Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-10-20(svn r11318) -Codechange: add the actual support for drawing selections on ↵rubidium
halftiles, r11316 just added the things needed to load the sprites. Patch by frosch.
2007-10-20(svn r11313) -Codechange: prepare several pieces of code so the can handle ↵rubidium
some new slopes. Patch by frosch.
2007-10-14(svn r11261) -Codechange: Draw selection sprites (HT_RECT, HT_POINT, ↵rubidium
HT_RAIL) on foundations as ChildSprite of the foundation, not as single ParentSprite. Patch by frosch.
2007-10-05(svn r11212) -Codechange: add support for drawing parts of sprites. Patch by ↵rubidium
frosch.
2007-10-05(svn r11210) -Codechange: unify the way that selection sprites are drawn. ↵rubidium
Patch by frosch.
2007-09-30(svn r11190) -Fix: make snowy roofs of (newgrf) houses also transparent.rubidium
2007-09-26(svn r11174) -Codechange: add possibility to show the bounding boxes of ↵rubidium
sprites using CTRL-B so one can get a better understanding of the used bounding boxes to fix the glitches that still exist. Patch by frosch. Note that this is not completely glitch free, bounding boxes sometimes aren't removed properly. This is due to the fact that the bounding boxes sometimes are larger than the sprite, which causes a smaller part than the bounding box to be redrawn. This is NOT a bug, but a known implementation limit as we do not want to slow down normal games so the debug graphics are always 100% correct.
2007-09-23(svn r11147) -Fix [FS#1247] (r11105): reallow bounding boxes with ↵rubidium
x/y/z-extent 0. Some NewGRFs need them. Patch by frosch.
2007-09-19(svn r11128) -Fix: a lot of graphical glitches by changing some bounding ↵rubidium
boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
2007-09-14(svn r11105) -Codechange [FS#1223]: add some support for tuning of the ↵rubidium
bounding boxes for some special cases (like tunnels and bridges). Patch by frosch.
2007-09-14(svn r11104) -Fix: bounding boxes also overlap when the min of a bounding ↵rubidium
box is equal to the max of another bounding box. Patch by frosch.
2007-09-14(svn r11103) -Codechange: remove pointless comparison as it can never ever ↵rubidium
be true (unless you've got at least 3 bit errors and then you're screwed anyway). Patch by frosch.
2007-09-13(svn r11094) -Documentation: Add comments on viewport structures and change ↵belugas
an obscure variable name to something a little more meaningfull. Heavily based of frosch's work (FS#1223)
2007-09-09(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting ↵rubidium
subsystem. Patch by Progman.
2007-08-30(svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game ↵rubidium
state while being marked const. -Codechange: do not brute force determine the first vehicle in the chain or previous vehicle, but do it by properly accounting the previous and first pointers when updating the next pointer. This gives a performance increase of about 15% when there are a lot of vehicles in the game.
2007-08-29(svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.rubidium
2007-07-26(svn r10696) -Codechange: remove duplication of the "make sprite ↵rubidium
transparent" code.
2007-07-25(svn r10684) -Codechange: some more coding style related changes. Primarily ↵rubidium
moving { to a new line.