/demos/trunk/base/cabs.c |
---|
34,7 → 34,7 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* |
* |
* CVS : $Id: cabs.c,v 1.6 2004-04-19 14:11:07 giacomo Exp $ |
* CVS : $Id: cabs.c,v 1.7 2004-04-23 07:57:33 giacomo Exp $ |
*/ |
/*--------------------------------------------------------------*/ |
175,7 → 175,6 |
y = y + 8; |
if (y >= ybase+16) { |
y = ybase; |
col = col % 15 + 1; |
} |
} |
/demos/trunk/base/fly.c |
---|
18,11 → 18,11 |
/** |
------------ |
CVS : $Id: fly.c,v 1.7 2004-04-19 14:11:07 giacomo Exp $ |
CVS : $Id: fly.c,v 1.8 2004-04-23 07:57:33 giacomo Exp $ |
File: $File$ |
Revision: $Revision: 1.7 $ |
Last update: $Date: 2004-04-19 14:11:07 $ |
Revision: $Revision: 1.8 $ |
Last update: $Date: 2004-04-23 07:57:33 $ |
------------ |
**/ |
96,7 → 96,8 |
x = ox = (XMIN+XMAX)/2; |
y = oy = (YMIN+YMAX)/2; |
teta = 0; |
red = 50+10*i; |
red = 100+10*i; |
if (red > 255) red = 255; |
col = rgb16(red,0,50); /* colore fly */ |
while (1) { |