removed WANT_AWE32 flag - too buggy; scaled space between Hud-messages; block Hudlog output messages beginning with you (your ... maxed out, you already have ...)

This commit is contained in:
zicodxx 2007-03-04 15:01:17 +00:00
parent e0a95ebd6a
commit 907608f3db
4 changed files with 5 additions and 3 deletions

View file

@ -352,7 +352,7 @@ else:
osdef = '__LINUX__'
osasmdef = 'elf'
sharepath += '/'
env.Append(CPPDEFINES = ['__LINUX__', 'WANT_AWE32'])
env.Append(CPPDEFINES = ['__LINUX__'])
env.Append(CPPPATH = ['arch/linux/include'])
ogldefines = ['SDL_GL', 'OGL']
common_sources += arch_linux_sources

View file

@ -4,6 +4,7 @@ D1X-Rebirth Changelog
--------
main/menu.c: improved Error-handling for starting a mission, making the game not crash if Level file is not found
main/guages.c: cleaned up hud_show_weapons_mode()
SConstruct, main/hud.c, main/hudlog.c: removed WANT_AWE32 flag - too buggy; scaled space between Hud-messages; block Hudlog output messages beginning with you (your ... maxed out, you already have ...)
20070303
--------

View file

@ -324,7 +324,7 @@ void HUD_render_message_frame()
gr_get_string_size(HUD_messages[n], &w, &h, &aw );
gr_set_fontcolor( HUD_color, -1);
gr_printf((grd_curcanv->cv_bitmap.bm_w-w)/2,y, HUD_messages[n] );
y += h+1;
y += h+FONTSCALE_Y(1);
}
}
}

View file

@ -11,6 +11,7 @@
#include "hudmsg.h"
#include "multi.h"
#include "hudlog.h"
#include "strutil.h"
//added on 9/5/99 by Victor Rachels for \ or / usage
#include "d_slash.h"
@ -104,7 +105,7 @@ void hud_log_message(char * message){
}
--recurse_flag;
if (strnicmp ("You already",message,11)) { // block those messages in hudlog output
if (strnicmp ("you",message,3)) { // block hudlog output messages beginning with you ("your ... maxed out", "you already have ...")
time_t t;
struct tm *lt;
t=time(NULL);