corrected UDP/IP error output
This commit is contained in:
parent
1bb867d617
commit
d636883a64
|
@ -142,7 +142,7 @@ static void chk(void *p)
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define FAIL(m...) do { msg(#m); return -1; } while (0)
|
#define FAIL(m...) do { msg(m); return -1; } while (0)
|
||||||
|
|
||||||
/* Find as much as MAX_BRDINTERFACES during local iface autoconfiguration.
|
/* Find as much as MAX_BRDINTERFACES during local iface autoconfiguration.
|
||||||
* Note that more interfaces can be added during manual configuration
|
* Note that more interfaces can be added during manual configuration
|
||||||
|
|
|
@ -838,7 +838,7 @@ bool g3_draw_bitmap(vms_vector *pos,fix width,fix height,grs_bitmap *bm,object *
|
||||||
|
|
||||||
glBegin(GL_QUADS);
|
glBegin(GL_QUADS);
|
||||||
// Define alpha by looking for object TYPE or ID. We do this here so we have it seperated from the rest of the code.
|
// Define alpha by looking for object TYPE or ID. We do this here so we have it seperated from the rest of the code.
|
||||||
if (glalpha_effects && (obj->type==OBJ_FIREBALL || obj->type==OBJ_WEAPON || obj->id==POW_EXTRA_LIFE || obj->id==POW_ENERGY || obj->id==POW_SHIELD_BOOST || obj->id==POW_HOARD_ORB || obj->id==POW_CLOAK || obj->id==POW_INVULNERABILITY))
|
if (glalpha_effects && (obj->type==OBJ_FIREBALL || obj->type==OBJ_WEAPON || obj->id==POW_EXTRA_LIFE || obj->id==POW_ENERGY || obj->id==POW_SHIELD_BOOST || obj->id==POW_CLOAK || obj->id==POW_INVULNERABILITY))
|
||||||
glColor4f(1.0,1.0,1.0,0.6);
|
glColor4f(1.0,1.0,1.0,0.6);
|
||||||
else
|
else
|
||||||
glColor3f(1.0,1.0,1.0);
|
glColor3f(1.0,1.0,1.0);
|
||||||
|
|
|
@ -3,6 +3,7 @@ D1X-Rebirth Changelog
|
||||||
20070130
|
20070130
|
||||||
--------
|
--------
|
||||||
d1x.ini, arch/ogl/gr.c, arch/ogl/ogl.c, include/3d.h, main/inferno.c, main/object.c: added transparency effects for some bitmaps like explosions, powerups, weapons, etc. - to enable with -gl_transparency
|
d1x.ini, arch/ogl/gr.c, arch/ogl/ogl.c, include/3d.h, main/inferno.c, main/object.c: added transparency effects for some bitmaps like explosions, powerups, weapons, etc. - to enable with -gl_transparency
|
||||||
|
arch/linux/ipx_udp.c, main/ipclient.h: corrected UDP/IP error output
|
||||||
|
|
||||||
20070128
|
20070128
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -48,7 +48,7 @@ static inline void msg(const char *fmt,...)
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
#define FAIL(m...) do { msg(#m); return -1; } while (0)
|
#define FAIL(m...) do { msg(m); return -1; } while (0)
|
||||||
|
|
||||||
static inline void chk(void *p){
|
static inline void chk(void *p){
|
||||||
if (p) return;
|
if (p) return;
|
||||||
|
|
Loading…
Reference in a new issue