/* ================= UI_VoteMenu_Custom_Draw ================= */ static void UI_VoteMenu_Custom_Draw( void ) { UI_DrawBannerString( 320, 16, "CALL VOTE CUSTOM", UI_CENTER, color_white ); UI_DrawNamedPic( 320-233, 240-166, 466, 332, ART_BACKGROUND ); // standard menu drawing Menu_Draw( &s_votemenu_custom.menu ); }
/* ================= UI_AddBotsMenu_Draw ================= */ static void UI_AddBotsMenu_Draw( void ) { UI_DrawBannerString( 320, 16, "ADD BOTS", UI_CENTER, color_white ); UI_DrawNamedPic( 320-233, 240-166, 466, 332, ART_BACKGROUND ); // standard menu drawing Menu_Draw( &addBotsMenuInfo.menu ); }
/* ================= UI_VoteMenu_Fraglimit_Draw ================= */ static void UI_VoteMenu_Fraglimit_Draw( void ) { UI_DrawBannerString( 320, 16, "CALL VOTE - FRAGLIMIT", UI_CENTER, color_white ); UI_DrawNamedPic( 320-233, 240-166, 466, 332, ART_BACKGROUND ); // standard menu drawing Menu_Draw( &s_votemenu_fraglmit.menu ); }
/* ================= BText_Draw ================= */ static void BText_Draw(menutext_s* t) { int x; int y; float* color; x = t->generic.x; y = t->generic.y; if (t->generic.flags & QMF_GRAYED) color = text_color_disabled; else color = t->color; UI_DrawBannerString(x, y, t->string, t->style, color); }
/* ================= UI_InServerMenu_Draw ================= */ static void UI_InServerMenu_Draw( void ) { UI_DrawBannerString( 320, 16, "SERVER OPTIONS", UI_CENTER, text_banner_color ); // standard menu drawing Menu_Draw( &s_inserver.menu ); }
/* ================= InSelectPlayerMenu_Draw ================= */ static void InSelectPlayerMenu_Draw( void ) { UI_DrawBannerString( 320, 16, s_setupplayers.bannerString, UI_CENTER, color_white ); // standard menu drawing Menu_Draw( &s_setupplayers.menu ); }