summaryrefslogtreecommitdiff
path: root/src/zoom.hpp
AgeCommit message (Collapse)Author
2007-06-11(svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repairtruelight
2007-06-11(svn r10092) -Codechange: code-seperated the spriteloader and blitter from ↵truelight
the rest of the code -Add: make it possible to pick your own blitter (-b <blitter>, -h for overview) -Add: added a new optimized 8bpp blitter (default, caches sprites of all zoom-levels) -Add: added a debug 8bpp blitter and a very slow normal 8bpp blitter
2007-06-08(svn r10072) -Fix r10070: typo in zoom.hpptruelight
2007-06-08(svn r10070) -Fix: fix the rounding problem of zoom-levels in zoom.hpp, so ↵truelight
it is global for every call
2007-05-26(svn r9936) -Fix: (Un)ScaleByZoom missed a minus sign in some casestruelight
2007-05-19(svn r9884) -Feature: 2 new zoom-out levels: 8 times and 16 timestruelight
-Codechange: unified the blitter function so we have 1 function for all zoom-levels -Codechange: make most of the label functions work with zoom-level instead of magic numbers and big switches per zoom-level -Codechange: MakeXXXDirty() functions didn't take into account zoom-level, but just used the biggest possible value -Codechange: simplified blitter functions to avoid code duplication
2007-05-15(svn r9848) -Fix r9846: how every many times you check something, of course ↵truelight
you always switch them at the last moment... UnScaleByZoom was ScaleByZoom and visa versa... (tnx to yeti_ for noticing)
2007-05-15(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the ↵truelight
obvious reasons -Codechange: introduced ZOOM_LVL_DETAIL to show/remove details -Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out) -Fix r9845: missed some int -> ZoomLevel
2007-05-15(svn r9844) -Codechange: replace zoomlevel with an enumtruelight
-Codechange: use predefined enums for viewport zoomlevels