making GuideBot Text color palette independent

This commit is contained in:
zicodxx 2007-04-14 08:55:04 +00:00
parent 898ad2913d
commit 6353ec121a
2 changed files with 3 additions and 2 deletions

View file

@ -3,6 +3,7 @@ D2X-Rebirth Changelog
20070414
--------
main/kconfig.c, main/kmatrix.c, main/newmenu.c, main/scores.c, main/titles.c: introducing kconfig_sub_draw_table() making it possible to redraw configuration tables with OGL swapping and clearing; increased timer_delay for menus and briefings to save more CPU usage
main/escort.c: making GuideBot Text color palette independent
20070409
--------

View file

@ -421,7 +421,7 @@ void buddy_message(char * format, ... )
t = strlen(gb_str);
gb_str[t] = ':';
gb_str[t+1] = 1;
gb_str[t+2] = BM_XRGB(0, 31, 0);
gb_str[t+2] = gr_find_closest_color_current(0, 255, 0);
gb_str[t+3] = 0;
HUD_init_message("%s %s", gb_str, new_format);
@ -447,7 +447,7 @@ void thief_message(char * format, ... )
gb_str[1] = BM_XRGB(28, 0, 0);
strcpy(&gb_str[2], "THIEF:");
gb_str[8] = 1;
gb_str[9] = gr_find_closest_color_current(0, 31, 0);
gb_str[9] = gr_find_closest_color_current(0, 255, 0);
gb_str[10] = 0;
HUD_init_message("%s %s", gb_str, new_format);