Commit Graph

38 Commits (6ebea4b49c3232bc1cfe0010b683886e629b8504)

Author SHA1 Message Date
frosch 939719ffc0 (svn r27161) -Fix [FS#6156] [FS#6206]: Reimplement the viewport drawing algorithm. 9 years ago
frosch 79380a566e (svn r27158) -Codechange: Simplify mapping from viewport to smallmap coordinates by duplicating less code. 9 years ago
frosch bd3a8bf9e4 (svn r27157) -Fix: Mark bridge middle tiles dirty when building/removing/changing bridges. 9 years ago
rubidium dfd472f4a4 (svn r26900) -Fix-ish: dirty the appropriate area around map edges when terraforming there to prevent any artefacts from occuring (ic111) 10 years ago
rubidium 6cee5310c1 (svn r26899) -Codechange: reduce the amount of tiles that needs to be drawn by taking the height of tiles into account instead of drawing way too many (ic111) 10 years ago
rubidium 238a842700 (svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen) 11 years ago
peter1138 1a0d9e73de (svn r23329) -Fix (r23316): Scale child sprite pixel offsets unless told not to. Fixes lifts and industry graphics. 13 years ago
rubidium 701bd8848a (svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium 3dd1cf6049 (svn r21843) -Codechange: move documentation towards the code to make it more likely to be updates [t-z]. 14 years ago
alberth de9c678901 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 14 years ago
alberth 835fe2131d (svn r21020) -Add: Use center of waypoint in waypoint gui, if available. 14 years ago
smatz ca1aea6225 (svn r20761) -Codechange: make PlaceObject() static 14 years ago
smatz e4bf409e44 (svn r20760) -Cleanup (r20753): remove unused CheckMouseOverVehicle() 14 years ago
rubidium b4747b00e6 (svn r19807) -Codechange: instead of having an unnamed enum and passing it as an int, name the enum and pass that 14 years ago
alberth 14d545e902 (svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore). 14 years ago
rubidium 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
frosch bf3fa7522b (svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences. 15 years ago
rubidium dc58b1dfee (svn r18602) -Codechange: unify the viewport sign and text effect drawing
-Fix [FS#3394]: signs could occasionally glitch
15 years ago
rubidium 5d6df7a8fd (svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap) 15 years ago
rubidium 506b3abdd6 (svn r18343) -Fix [FS#3336] (r18243): dark blue signs would be drawn transparent 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium bb78e5bb14 (svn r16764) -Codechange: unify the way viewport signs are marked dirty 15 years ago
rubidium 4989b4afb9 (svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign 15 years ago
frosch 69107b00cc (svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead. 15 years ago
smatz d28895c88b (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium d3144b6f04 (svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo) 16 years ago
rubidium 0c30e46c9c (svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp. 16 years ago
rubidium 8b9ffbe158 (svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h. 16 years ago
rubidium c28ce39e3c (svn r12987) -Codechange: split viewport and tile selection. 16 years ago
rubidium 51c7ba39a4 (svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth. 16 years ago
rubidium 2752568d61 (svn r12749) -Codechange: store the viewport information in the windows that have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport. 16 years ago
rubidium 26dcf25238 (svn r12734) -Codechange: use a vector instead of allocating memory in a big byte array for StringSpriteToDraw. 16 years ago
rubidium a83b91dbc5 (svn r11939) -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik. 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium 285a4a106f (svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed... 17 years ago
rubidium 64d691bacc (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago