Update of /cvsroot/agd/client
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1047
Modified Files:
agi.c
Log Message:
Some indentation fixes.
Index: agi.c
===================================================================
RCS file: /cvsroot/agd/client/agi.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- agi.c 9 Jan 2004 20:52:07 -0000 1.1.1.1
+++ agi.c 3 Aug 2004 14:47:53 -0000 1.2
@@ -4,27 +4,29 @@
int agipix_w, agipix_h;
PALETTE agipal = {
- {0, 0, 0}, /* black */
- {0,0,170}, /* blue */
- {0,170,0}, /* green */
- {0,170,170}, /* cyan */
- {170,0,0}, /* red */
- {170,0,170}, /* magenta */
- {170,85,0}, /* brown */
- {170,170,170}, /* light grey */
- {85,85,85}, /* dark grey */
- {85,85,255}, /* light blue */
- {85,255,85}, /* light green */
- {85,255,255}, /* light cyan */
- {255,85,85}, /* light red */
- {255,85,255}, /* light purple */
- {255,255,85}, /* light yellow */
- {255,255,255} /* white */
+ {0, 0, 0}, /* black */
+ {0, 0, 170}, /* blue */
+ {0, 170, 0}, /* green */
+ {0, 170, 170}, /* cyan */
+ {170, 0, 0}, /* red */
+ {170, 0, 170}, /* magenta */
+ {170, 85, 0}, /* brown */
+ {170, 170, 170}, /* light grey */
+ {85, 85, 85}, /* dark grey */
+ {85, 85, 255}, /* light blue */
+ {85, 255, 85}, /* light green */
+ {85, 255, 255}, /* light cyan */
+ {255, 85, 85}, /* light red */
+ {255, 85, 255}, /* light purple */
+ {255, 255, 85}, /* light yellow */
+ {255, 255, 255} /* white */
};
void agi_putpixel(BITMAP *bmp, int x, int y, int color)
{
- rectfill(bmp, (x - 1) * agipix_w, (y - 1) * agipix_h, x * agipix_w, y * agipix_h, color);
+ rectfill(bmp,
+ (x-1) * agipix_w, (y-1) * agipix_h,
+ x * agipix_w, y * agipix_h, color);
}
int round(float aNumber, float dirn)
|