Changeset 1376 for toilet/trunk/src/filter.c
- Timestamp:
- Nov 12, 2006, 9:37:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
toilet/trunk/src/filter.c
r1322 r1376 131 131 for(x = 0; x < w; x++) 132 132 { 133 unsigned long int ch = cucul_get char(cx->torender, x, y);133 unsigned long int ch = cucul_get_char(cx->torender, x, y); 134 134 if(ch != (unsigned char)' ') 135 135 { … … 167 167 for(x = 0; x < w; x++) 168 168 { 169 unsigned long int ch = cucul_get char(cx->torender, x, y);169 unsigned long int ch = cucul_get_char(cx->torender, x, y); 170 170 int i; 171 171 … … 175 175 i = ((cx->lines + y + x / 8) / 2) % 4; 176 176 cucul_set_color_ansi(cx->torender, palette[i], CUCUL_TRANSPARENT); 177 cucul_put char(cx->torender, x, y, ch);177 cucul_put_char(cx->torender, x, y, ch); 178 178 } 179 179 } … … 194 194 for(x = 0; x < w; x++) 195 195 { 196 unsigned long int ch = cucul_get char(cx->torender, x, y);196 unsigned long int ch = cucul_get_char(cx->torender, x, y); 197 197 if(ch != (unsigned char)' ') 198 198 { … … 200 200 rainbow[(x / 2 + y + cx->lines) % 6], 201 201 CUCUL_TRANSPARENT); 202 cucul_put char(cx->torender, x, y, ch);202 cucul_put_char(cx->torender, x, y, ch); 203 203 } 204 204 }
Note: See TracChangeset
for help on using the changeset viewer.