From 6ac111e0ed67187554ead8cccc241029465e8979 Mon Sep 17 00:00:00 2001 From: xHire Date: Sat, 23 May 2009 20:45:01 +0200 Subject: Rewritten messages/comments in code of client Rectified the coding style in code of client --- src/client/radar.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/client/radar.c') diff --git a/src/client/radar.c b/src/client/radar.c index 5770cf0..e8457e9 100644 --- a/src/client/radar.c +++ b/src/client/radar.c @@ -1,4 +1,3 @@ - #include #include #include @@ -34,7 +33,7 @@ static radar_item_t *newRadarItem(int id, int x, int y, int type) return new; } -static void destroyRadarItem(radar_item_t * p) +static void destroyRadarItem(radar_item_t *p) { assert(p != NULL); free(p); @@ -85,7 +84,7 @@ void radar_init() listRadar = list_new(); } -void radar_draw(arena_t * arena) +void radar_draw(arena_t *arena) { int i; @@ -103,7 +102,7 @@ void radar_draw(arena_t * arena) if (x >= 0 && x <= RADAR_SIZE_X && y >= 0 && y <= RADAR_SIZE_Y) { image_draw(g_radar, RADAR_LOCATION_X + 1 + x, RADAR_LOCATION_Y + 1 + y, - 2 * thisRadarItem->type, RADAR_SIZE_Y + 2, 2, 2); + 2 * thisRadarItem->type, RADAR_SIZE_Y + 2, 2, 2); } } } -- cgit v1.2.3