diff options
| author | xHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-24 15:58:27 +0000 |
|---|---|---|
| committer | xHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-24 15:58:27 +0000 |
| commit | b0c18ef9dfe4703484e03a836e44366294afa4ac (patch) | |
| tree | 5a4ec90bbfdff47de224abc1eaaf4efd8095a763 /src/shot.c | |
| parent | aec5ba5ca31f3d7c895beb658a93c353b2b8d5c1 (diff) | |
- 'BUBLIC_SERVER' replaced with 'PUBLIC_SERVER'
- small changes in Makefile
git-svn-id: http://opensvn.csie.org/tuxanci_ng@34 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/shot.c')
| -rw-r--r-- | src/shot.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -9,17 +9,17 @@ #include "net_multiplayer.h" #include "proto.h" -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER #include "image.h" #include "screen_world.h" #include "layer.h" #endif -#ifdef BUBLIC_SERVER +#ifdef PUBLIC_SERVER #include "publicServer.h" #endif -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER static SDL_Surface *g_shot_simple; static SDL_Surface *g_shot_lasserX; @@ -36,11 +36,11 @@ bool_t isShotInicialized() void initShot() { -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER assert( isImageInicialized() == TRUE ); #endif -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER g_shot_simple = addImageData("shot.png", IMAGE_ALPHA, "shot", IMAGE_GROUP_BASE); g_shot_lasserX = addImageData("lasserX.png", IMAGE_NO_ALPHA, "lasserX", IMAGE_GROUP_BASE); @@ -76,7 +76,7 @@ shot_t* newShot(int x,int y, int px, int py, int gun, tux_t *author) case GUN_SIMPLE : new->w = GUN_SHOT_WIDTH; new->h = GUN_SHOT_HEIGHT; -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER new->img = g_shot_simple; #endif break; @@ -88,7 +88,7 @@ shot_t* newShot(int x,int y, int px, int py, int gun, tux_t *author) case TUX_LEFT : new->w = GUN_LASSER_HORIZONTAL; new->h = GUN_SHOT_VERTICAL; -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER new->img = g_shot_lasserX; #endif break; @@ -96,7 +96,7 @@ shot_t* newShot(int x,int y, int px, int py, int gun, tux_t *author) case TUX_DOWN : new->w = GUN_SHOT_VERTICAL; new->h = GUN_LASSER_HORIZONTAL; -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER new->img = g_shot_lasserY; #endif break; @@ -111,7 +111,7 @@ shot_t* newShot(int x,int y, int px, int py, int gun, tux_t *author) return new; } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void drawShot(shot_t *p) { @@ -201,7 +201,7 @@ void transformOnlyLasser(shot_t *shot) case TUX_LEFT : shot->w = GUN_LASSER_HORIZONTAL; shot->h = GUN_SHOT_VERTICAL; -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER shot->img = g_shot_lasserX; #endif break; @@ -209,7 +209,7 @@ void transformOnlyLasser(shot_t *shot) case TUX_DOWN : shot->w = GUN_SHOT_VERTICAL; shot->h = GUN_LASSER_HORIZONTAL; -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER shot->img = g_shot_lasserY; #endif break; |