summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
AgeCommit message (Collapse)Author
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
2008-06-16(svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not ↵frosch
necessarily consecutive.
2008-06-12(svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, ↵smatz
planetmaker)
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-29(svn r13321) -Codechange: move some GUI/viewport related functions out op ↵rubidium
openttd.cpp to viewport.cpp/window.cpp.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-19(svn r13182) -Doc: add documentation to mostly rail_gui related functions. ↵rubidium
Patch by Alberth.
2008-05-17(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so ↵rubidium
window_gui.h only needs to be included in *_gui.cpp.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-15(svn r13110) -Fix [FS#2018]: some toolbar buttons not being unpressed properly.rubidium
2008-05-15(svn r13104) -Codechange: make ResetObjectToPlace safe to be called ↵rubidium
recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows.
2008-05-11(svn r13055) -Codechange: make a class of SmallMapWindow.glx
2008-05-11(svn r13047) -Codechange: remove vp_dglx
2008-05-10(svn r13029) -Codechange: more work in the road to getting the WP macros and ↵rubidium
byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme.
2008-05-08(svn r13009) -Codechange: move more tile highlighting related ↵rubidium
functions/types to tilehighlight_*.h.
2008-05-07(svn r12987) -Codechange: split viewport and tile selection.rubidium
2008-05-06(svn r12977) -Codechange: remove quite some redundant (duplicate) function ↵rubidium
declarations.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-04(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.rubidium
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