Age | Commit message (Collapse) | Author |
|
fast as possible" tile height model (Patch by adf88, #6583)
|
|
#6583)
|
|
(Patch by adf88, #6583)
|
|
coordinates to underlying tile coordinates (Patch by adf88, #6583)
|
|
|
|
Found with codespell
|
|
This reverts commit 25ab9c1997f770f4a8a66bb3ad4b82ba87e3a977.
|
|
|
|
When zooming out with a high res display, there can be about 150k sprites
to be sorted before displaying. With the O(n^2) complexity of the sprite
sorter, this can take several seconds.
This patch works around this by sorting the sprites by the xmin coordinate
first using QSort, which later allows an early bailout out of the inner
loop. This is enough to cut down the full unzoom time on a 4k display to a
fraction of second.
|
|
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
|
|
|
|
|
|
|
|
|
|
a file no its own. (Cif)
|
|
viewports were not centered. (_dp_)
|
|
cases. (adf88)
|
|
algorithm.
|
|
stay signed.
|
|
coordinates by duplicating less code.
|
|
building/removing/changing bridges.
|
|
MarkAllViewportsDirty.
|
|
spaces)
|
|
characters, e.g. @þaram to @param
|
|
the map to determine the scroll boundaries (based on patch by ic111)
|
|
|
|
terraforming there to prevent any artefacts from occuring (ic111)
|
|
by taking the height of tiles into account instead of drawing way too many (ic111)
|
|
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
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
empty (MJP)
|
|
|
|
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.
|
|
ViewportDrawStrings. (Juanjo)
|
|
|
|
|
|
pixels due to incorrect rounding.
|
|
Eagle_rainbow)
|
|
|
|
redrawn for text effects (Rhamphoryncus)
|
|
dirty blocks/rectangles
|
|
to the GS. That way they are always shown in game and are not editable.
|
|
|
|
to. Fixes lifts and industry graphics.
|
|
|
|
|
|
|
|
|
|
related variables
|
|
functions if they return the Z in pixels (like TilePixelHeight)
|