summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-17 20:49:03 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-17 20:49:03 +0000
commit77465c2629ef63629d69c97a0af60a47a07ce7f5 (patch)
tree3d361898d0f29f4b789e52682e0945c741df6cb0 /src/modules
parentb6af4e925f4cf9dd284728e846b99e1de776ec31 (diff)
- opravena chyba, tux mophol pomocou bombballu vybuchnuteho v objekte do ktoreho sa dostal ako duch pridavat itemy
- kod namiesto SDL_Surface pouziva moj typ image_t git-svn-id: http://opensvn.csie.org/tuxanci_ng@154 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/modules')
-rwxr-xr-xsrc/modules/modPipe.c4
-rwxr-xr-xsrc/modules/modTeleport.c4
-rwxr-xr-xsrc/modules/modWall.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c
index 3edbc0b..b0516c8 100755
--- a/src/modules/modPipe.c
+++ b/src/modules/modPipe.c
@@ -36,7 +36,7 @@ typedef struct pipe_struct
int layer; // vrstva
#ifndef PUBLIC_SERVER
- SDL_Surface *img; //obrazok
+ image_t *img; //obrazok
#endif
} pipe_t;
@@ -46,7 +46,7 @@ static list_t *listPipe;
static space_t *spacePipe;
#ifndef PUBLIC_SERVER
-static pipe_t* newPipe(int x, int y, int w, int h, int layer, int id, int id_out, int position, SDL_Surface *img)
+static pipe_t* newPipe(int x, int y, int w, int h, int layer, int id, int id_out, int position, image_t *img)
#endif
#ifdef PUBLIC_SERVER
diff --git a/src/modules/modTeleport.c b/src/modules/modTeleport.c
index 785c1a3..1411b88 100755
--- a/src/modules/modTeleport.c
+++ b/src/modules/modTeleport.c
@@ -34,7 +34,7 @@ typedef struct teleport_struct
int layer; // vrstva
#ifndef PUBLIC_SERVER
- SDL_Surface *img; //obrazok
+ image_t *img; //obrazok
#endif
} teleport_t;
@@ -44,7 +44,7 @@ static space_t *spaceTeleport;
static list_t *listTeleport;
#ifndef PUBLIC_SERVER
-teleport_t* newTeleport(int x, int y, int w, int h, int layer, SDL_Surface *img)
+teleport_t* newTeleport(int x, int y, int w, int h, int layer, image_t *img)
#endif
#ifdef PUBLIC_SERVER
diff --git a/src/modules/modWall.c b/src/modules/modWall.c
index c2cf69e..0422bbe 100755
--- a/src/modules/modWall.c
+++ b/src/modules/modWall.c
@@ -36,7 +36,7 @@ typedef struct wall_struct
int layer; // vrstva
#ifndef PUBLIC_SERVER
- SDL_Surface *img; //obrazok
+ image_t *img; //obrazok
#endif
} wall_t;
@@ -52,7 +52,7 @@ static list_t *listWall;
#ifndef PUBLIC_SERVER
wall_t* newWall(int x, int y, int w, int h,
- int img_x, int img_y, int layer, SDL_Surface *img)
+ int img_x, int img_y, int layer, image_t *img)
#endif
#ifdef PUBLIC_SERVER