Commit Graph

306 Commits (a0c53f7c4cbbdb87170d2e27866071f0a3bfe7b5)

Author SHA1 Message Date
rubidium 22dd5ddca1 (svn r26910) -Fix: account for the height of the landscape at the edge of the map to determine the scroll boundaries (based on patch by ic111) 10 years ago
rubidium 1c077e596b (svn r26908) -Codechange: replace a magic number by a more logical calculation 10 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 44bcff645c (svn r26870) -Fix (r15190): since freeform edges the 'tile height' at southern edge * 8 pixels just 'south' of the edge tile would not be drawn and would as a result not be refreshed causing artefacts to remain there. This adds a virtual slope to level 0 so it can be redrawn appropriately. Loosely based on patch by ic111 10 years ago
rubidium 2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
fonsinchen 827fd192de (svn r26338) -Fix [FS#5908]: Don't redraw the link graph overlay if it's empty (MJP) 11 years ago
rubidium 4a911754b5 (svn r26209) -Codechange: remove some template magic and simplify some code 11 years ago
rubidium 5156c3731b (svn r26205) -Feature: SSE 4.1 sprite sorter, improving the sorting performance significantly (MJP)
For example with GCC 4.8, x86_64 Linux, Intel i5-3337U this patch improves the performance of Pile, Treham and Hamac test save games by about 10% in over-all run time at fast forward at 1920x1080 when zoomed out and when trees are not disabled.
11 years ago
frosch 26f86765f9 (svn r25823) -Codechange [FS#5780]: Simplify if-cases in ViewportDrawStrings. (Juanjo) 11 years ago
rubidium 316e666860 (svn r25546) -Fix: two small memory leaks 11 years ago
rubidium 238a842700 (svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen) 11 years ago
frosch 4490e3ae12 (svn r24975) -Fix [FS#5463]: Additional zoom in levels could glitch by a few pixels due to incorrect rounding. 12 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
rubidium 76d5833650 (svn r24179) -Codechange: move some variables of Town to TownCache 12 years ago
rubidium 3c3cb93682 (svn r24068) -Change/fix [FS#5103]: significantly reduce the area that is redrawn for text effects (Rhamphoryncus) 12 years ago
rubidium 484dab34c9 (svn r24065) -Feature-ish [FS#5101]: debug option for showing the redrawn dirty blocks/rectangles 12 years ago
frosch 20c4f128ab (svn r23835) -Change [FS#4999]: Make signs placed in scenario editor belong to the GS. That way they are always shown in game and are not editable. 13 years ago
truebrain ac9324f270 (svn r23621) -Add: allow manipulation of signs via GameScripts 13 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
peter1138 b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
peter1138 782aee3c2a (svn r23314) -Add: Add settings to restrict viewport zoom levels. 13 years ago
frosch 07cccfb893 (svn r23125) -Codechange: Replace some 8s with TILE_SIZE / 2. (adf88) 13 years ago
rubidium e8eb3fe381 (svn r23110) -Codechange: let the flying altitude return ints are well 13 years ago
rubidium 0e2d2b2317 (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 13 years ago
rubidium de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
planetmaker 1e76e1a74a (svn r22761) -Fix (r22708): Make invisible signs un-clickable (Zuu) 13 years ago
frosch bb3ce07d41 (svn r22755) -Fix [FS#4727]: When marking tile selections dirty, use the height information of the corners instead of the surface slope. This is more accurate when the foundation is kind of undefined. 13 years ago
frosch 8fe21e4d46 (svn r22740) -Fix [FS#4708]: Display the size of the leveled platform in the measurement tooltip of terraforming operations. 13 years ago
frosch 29ba3a1dd7 (svn r22739) -Fix: The measurement tooltip is supposed to be hidden when not dragging an area. 13 years ago
planetmaker 3e5d60ea2e (svn r22708) -Feature [FS#4701]: Display option to hide competitors' signs and station names (Zuu) 13 years ago
frosch 27a095fd92 (svn r22649) -Fix [FS#4670]: Switching from a red to a white highlight (by switching to another tool) without switching the highlight mode (HT_RECT etc.) did not mark the selection dirty. 13 years ago
yexo 8ad176894d (svn r22181) -Fix (r20574): following a vehicle with a very high VehicleID was impossible 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium ec4f688ca0 (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. 14 years ago
alberth a1049fbe66 (svn r21667) -Codechange: Introduce _thd.Reset(). 14 years ago
alberth 5955e98b79 (svn r21666) -Codechange: Use GetCallbackWnd at more places. 14 years ago
alberth fdf0be0da8 (svn r21665) -Codechange: Make GetCallbackWnd a method of _thd. 14 years ago
rubidium a074649fc1 (svn r21648) -Codechange: unduplicate a bit of code 14 years ago
alberth ce3fa189ad (svn r21638) -Codechange (r1): Simplify testing that outersize.x is bigger than 0. 14 years ago
rubidium de7a30cc2e (svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour 14 years ago
smatz 76a57e9766 (svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE 14 years ago
alberth 9b29187b7c (svn r21628) -Codechange: Remove local variables that just point to global _thd. 14 years ago
alberth 7d989073d4 (svn r21627) -Codechange: Remove _place_proc global variable. 14 years ago
alberth 245362472c (svn r21621) -Codechange: Only consider tile highlighting mode bits in tile selection functions. 14 years ago
alberth d9d3da8fdb (svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode. 14 years ago
alberth b5822d3086 (svn r21619) -Fix [FS#4327]: Don't copy direction bits when restarting a rail selection. 14 years ago
smatz 26f0662680 (svn r21612) -Fix (r21608): dragging with HT_POINT was half a tile off 14 years ago
alberth d5d7a2d88f (svn r21608) -Codechange: Move diagnonal rectangle dragging detection completely to tile highlighting. 14 years ago
alberth 65bf80ad04 (svn r21607) -Codechange: Be more robust against having extra bits in HighLightStyle vars. 14 years ago