Changeset 21
- Timestamp:
- 12/09/07 08:14:09 (1 year ago)
- Files:
-
- trunk/guisterax/src/universe.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/guisterax/src/universe.d
r17 r21 46 46 // I am not sure this is the most efficient way it depends on the way SDL 47 47 // handle blitting surfaces that are not included in the visible screen 48 for(int i = 0; i <= 0; ++i) {49 for(int j = 0; j <= 0; ++j) {48 for(int i = -1; i <= 1; ++i) { 49 for(int j = -1; j <= 1; ++j) { 50 50 disp.blit(surf, pos + Vect(i*u.width, j*u.height), x, y, w, h); 51 51 }
