summaryrefslogtreecommitdiff
path: root/modules/modWall.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-26 12:45:53 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-26 12:45:53 +0000
commitc94fd664bba352732bf0e5c9a77e709b49f1aa4f (patch)
tree70936acfc33b46792ce1e3170de6a82f86edfe68 /modules/modWall.c
parenta1e9bc7430ca827808a502f455b20a23ba15e31a (diff)
- mensie upravy v kode
- navod na zostavovanie projektu - da sa to skompilovat :D - PS: este to nie je odladene, a musim sa ucit na prijmacky na FEI git-svn-id: http://opensvn.csie.org/tuxanci_ng@54 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'modules/modWall.c')
-rwxr-xr-xmodules/modWall.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/modWall.c b/modules/modWall.c
index 50756e8..d435613 100755
--- a/modules/modWall.c
+++ b/modules/modWall.c
@@ -80,16 +80,16 @@ void drawWall(wall_t *p)
export_fce->fce_addLayer(p->img, p->img_x, p->img_y, 0, 0, p->img->w, p->img->h, p->layer);
}
-void drawListWall(list_t *listWall)
+void drawListWall(list_t *list)
{
wall_t *thisWall;
int i;
- assert( listWall != NULL );
+ assert( list != NULL );
- for( i = 0 ; i < listWall->count ; i++ )
+ for( i = 0 ; i < list->count ; i++ )
{
- thisWall = (wall_t *)listWall->list[i];
+ thisWall = (wall_t *)list->list[i];
assert( thisWall != NULL );
drawWall(thisWall);
}
@@ -97,16 +97,16 @@ void drawListWall(list_t *listWall)
#endif
-wall_t* isConflictWithListWall(list_t *listWall, int x, int y, int w, int h)
+wall_t* isConflictWithListWall(list_t *list, int x, int y, int w, int h)
{
wall_t *thisWall;
int i;
- assert( listWall != NULL );
+ assert( list != NULL );
- for( i = 0 ; i < listWall->count ; i++ )
+ for( i = 0 ; i < list->count ; i++ )
{
- thisWall = (wall_t *)listWall->list[i];
+ thisWall = (wall_t *)list->list[i];
assert( thisWall != NULL );
if( export_fce->fce_conflictSpace(x, y, w, h,