summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
AgeCommit message (Collapse)Author
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-19(svn r12787) -Documentation: add/fix documentation of some functions. Patch ↵rubidium
by Alberth.
2008-04-18(svn r12771) -Codechange: remove more from variables.h.rubidium
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
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 r12741) -Codechange: do not allocate the viewport drawer each time on ↵rubidium
the stack, but only once and reuse this.
2008-04-16(svn r12740) -Codechange: use a vector instead of allocating memory in a ↵rubidium
byte array for ChildScreenSpriteToDraw.
2008-04-16(svn r12739) -Codechange: use a vector instead of allocating memory in a ↵rubidium
byte array for ParentSpriteToDraw.
2008-04-16(svn r12738) -Fix (r12736): some sprites could be left unsortedsmatz
2008-04-16(svn r12737) -Codechange: Replace vector with a cut down class to allocate ↵peter1138
space as necessary. This avoids copying data around for vector's push_back() function.
2008-04-16(svn r12736) -Codechange: a (small) touch of coding style in viewport.cpp.rubidium
2008-04-16(svn r12735) -Codechange: use a vector instead of allocating memory in a ↵rubidium
byte array for TileSpriteToDraw.
2008-04-16(svn r12734) -Codechange: use a vector instead of allocating memory in a big ↵rubidium
byte array for StringSpriteToDraw.
2008-04-13(svn r12695) -Codechange: only allocate window structs when needed. Based on ↵rubidium
a patch by Alberth.
2008-04-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent
2008-04-01(svn r12536) -Codechange: some stack allocations were too large for NDS, so ↵rubidium
use the SmallStackSafeStackAlloc wrapper. Allocate on the stack by default and on the heap for NDS (or other devices that have a very small stack).
2008-03-31(svn r12501) -Codechange: split signs.h.rubidium
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-27(svn r12439) -Fix [FS#1871]: do not 'disable' the drawing of autorail ↵rubidium
overlays when the tile is 'error'-marked (red pulsating selection). Patch by Icosikai.
2008-02-17(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard ↵smatz
input, depot/group window wasn't updated (original patch by GrimRC)
2008-02-14(svn r12140) -Codechange: A bit of code style fixes(Geektoo).belugas
2008-02-02(svn r12044) -Fix [FS#1741]: crash when centering on a vehicle (aircraft) ↵rubidium
that is outside of the map.
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