Parent Directory | Revision Log | Patch
revision 1.36 by reallysoft, Mon Jul 7 21:16:07 2003 UTC | revision 1.37 by reallysoft, Mon Jul 7 23:39:14 2003 UTC | |
---|---|---|
# | Line 176 GameMenu::draw_background(px::GC &gc) { | Line 176 GameMenu::draw_background(px::GC &gc) { |
176 | ||
177 | // zoom multiple times for softer image | // zoom multiple times for softer image |
178 | const double stepsize = 0.3; | const double stepsize = 0.3; |
179 | for (double zoom = stepsize; zoom <= (1.0-stepsize/2); zoom += stepsize) { | for (double zoom = 0.4; zoom < 0.9; zoom += stepsize) { |
180 | int sx = int(zoom*640+0.5); | int sx = int(zoom*640+0.5); |
181 | int sy = int(zoom*480+0.5); | int sy = int(zoom*480+0.5); |
182 | Surface *tmp = src->zoom(sx, sy); | Surface *tmp = src->zoom(sx, sy); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |