finding problem

origin
stpohle 16 years ago
parent c4f9a77cf8
commit b9a0e0a8de

@ -1,4 +1,4 @@
/* $Id: basic.h,v 1.36 2006/08/15 14:12:19 patty21 Exp $ */ /* $Id: basic.h,v 1.37 2009/10/10 09:43:54 stpohle Exp $ */
/* basic types which we need everywhere */ /* basic types which we need everywhere */
#ifndef _BC_BASIC_H_ #ifndef _BC_BASIC_H_
@ -82,7 +82,7 @@
#define AUTOSTART 20 /* server autostart */ #define AUTOSTART 20 /* server autostart */
#define MW_IS_GFX_SELECT(__gfx_nr,__result) for (__result = (MAX_PLAYERS-1); (__result >= 0) && (players[__result].gfx_nr != __gfx_nr); __result--); #define MW_IS_GFX_SELECT(__gfx_nr,__result) for (__result = (MAX_PLAYERS-1); (__result >= 0) && (players[__result].gfx_nr != __gfx_nr); __result--) d_printf ("__result:%d, gfx:%d __gfx:%d\n", __result, players[__result].gfx_nr, __gfx_nr);
#define CUTINT(__x) (__x-floorf(__x)) // cut the integer part off #define CUTINT(__x) (__x-floorf(__x)) // cut the integer part off
#define postofield(__x) ((int)(rintf(__x))) // position to int with rounding #define postofield(__x) ((int)(rintf(__x))) // position to int with rounding

@ -1,4 +1,4 @@
/* $Id: gfx.c,v 1.41 2005/07/06 13:11:55 stpohle Exp $ */ /* $Id: gfx.c,v 1.42 2009/10/10 09:43:55 stpohle Exp $ */
/* gfx.c */ /* gfx.c */
#include "bomberclone.h" #include "bomberclone.h"

Loading…
Cancel
Save