diff --git a/src/gamesrv.h b/src/gamesrv.h index a711708..0f16447 100644 --- a/src/gamesrv.h +++ b/src/gamesrv.h @@ -17,6 +17,11 @@ struct game_entry { unsigned char state; unsigned char multitype; unsigned char gametype; + struct _user { + char name[LEN_PLAYERNAME]; + short int points; + short int wins; + } players[MAX_PLAYERS]; }; extern int gamesrv_findentry (char *host, char *port); diff --git a/src/single.c b/src/single.c index 03d53fb..53c8778 100644 --- a/src/single.c +++ b/src/single.c @@ -1,4 +1,4 @@ -/* $Id: single.c,v 1.35 2003/07/16 14:42:00 stpohle Exp $ */ +/* $Id: single.c,v 1.36 2003/07/23 18:14:04 stpohle Exp $ */ /* single player */ #include "basic.h" @@ -56,7 +56,7 @@ single_game_new () } bman.players[bman.p_nr].state = PSFM_alife; - player_set_gfx (&bman.players[bman.p_nr], 6); + player_set_gfx (&bman.players[bman.p_nr], 7); bman.last_ex_nr = 1; init_map_tileset (); diff --git a/tools/convert-player.sh b/tools/convert-player.sh index 24e947f..7a2a589 100755 --- a/tools/convert-player.sh +++ b/tools/convert-player.sh @@ -1,15 +1,15 @@ # CROP Files -RES=310x330 -POS=+155+65 +RES=220x312 +POS=+210+79 # SCALE -SRES=120x128 +SRES=90x128 SPOS=+0+0 -ARES=120x2560 +ARES=90x2560 APOS=+0+0 -FRES=480x2560 +FRES=360x2560 FPOS=+0+0 BACKGROUND="#FF00FF" @@ -31,10 +31,10 @@ echo "MONTAGE front"; montage -tile 1x20 -geometry $SRES crop-*front*.bmp -crop $ARES tiff:out04 echo "MONTAGE left"; -montage -tile 1x20 -geometry $SRES crop-*left*.bmp -crop $ARES tiff:out02 +montage -tile 1x20 -geometry $SRES crop-*left*.bmp -crop $ARES tiff:out01 echo "MONTAGE right"; -montage -tile 1x20 -geometry $SRES crop-*right*.bmp -crop $ARES tiff:out01 +montage -tile 1x20 -geometry $SRES crop-*right*.bmp -crop $ARES tiff:out02 echo "MONTAGE all" montage -tile 4x1 -geometry $ARES$APOS out01 out02 out03 out04 bmp:player.bmp