summaryrefslogtreecommitdiff
path: root/src/client/radar.c
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2009-05-23 20:45:01 +0200
committerxHire <xhire@tuxportal.cz>2009-05-26 01:11:44 +0200
commit6ac111e0ed67187554ead8cccc241029465e8979 (patch)
tree2f4534981d0ed8452d3400eacc54feb22caabdaa /src/client/radar.c
parent4d4dae5cc3a2bf32421ad2d4255079eb1d731647 (diff)
Rewritten messages/comments in code of client
Rectified the coding style in code of client
Diffstat (limited to 'src/client/radar.c')
-rw-r--r--src/client/radar.c7
1 files changed, 3 insertions, 4 deletions
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 <stdio.h>
#include <stdlib.h>
#include <assert.h>
@@ -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);
}
}
}