Changeset 494 for abuse/trunk/src/smoosh.cpp
- Timestamp:
- Apr 17, 2011, 11:56:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/smoosh.cpp
r129 r494 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net> 4 5 * 5 6 * This software was released into the Public Domain. As with most public … … 51 52 52 53 // break the image up into particles and store in a big matrix 53 for (y=0; y<im->height();y++)54 for (y=0; y<im->height(); y++) 54 55 { 55 56 sl=im->scan_line(y); 56 57 py=y/size; 57 for (x=0; x<im->width();x++,sl+=px)58 for (x=0; x<im->width(); x++,sl+=px) 58 59 { 59 60 px=x/size;
Note: See TracChangeset
for help on using the changeset viewer.