fix wrong buttons in add bot menu ingame

This commit is contained in:
q3rally 2016-05-15 06:57:10 +00:00
parent 02f649d08c
commit caed223c05
2 changed files with 24 additions and 9 deletions

View file

@ -360,15 +360,30 @@ static void UI_AddBotsMenu_Init( void ) {
addBotsMenuInfo.team.generic.flags = QMF_GRAYED;
}
addBotsMenuInfo.go.generic.type = MTYPE_PTEXT;
addBotsMenuInfo.go.generic.type = MTYPE_PTEXT;
addBotsMenuInfo.go.generic.flags = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS;
addBotsMenuInfo.go.generic.id = ID_GO;
addBotsMenuInfo.go.generic.callback = UI_AddBotsMenu_FightEvent;
addBotsMenuInfo.go.generic.x = 320+128;
addBotsMenuInfo.go.generic.y = 256+128-64;
addBotsMenuInfo.go.string = "GO";
addBotsMenuInfo.go.color = text_color_normal;
addBotsMenuInfo.go.style = UI_RIGHT | UI_SMALLFONT;
/* to remove
addBotsMenuInfo.go.generic.type = MTYPE_BITMAP;
addBotsMenuInfo.go.generic.name = ART_FIGHT0;
addBotsMenuInfo.go.generic.flags = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS;
addBotsMenuInfo.go.generic.id = ID_GO;
addBotsMenuInfo.go.generic.callback = UI_AddBotsMenu_FightEvent;
addBotsMenuInfo.go.generic.x = 320+128;
addBotsMenuInfo.go.generic.x = 320+128-128;
addBotsMenuInfo.go.generic.y = 256+128-64;
addBotsMenuInfo.go.string = "GO";
addBotsMenuInfo.go.color = text_color_normal;
addBotsMenuInfo.go.style = UI_RIGHT | UI_SMALLFONT;
addBotsMenuInfo.go.width = 128;
addBotsMenuInfo.go.height = 64;
addBotsMenuInfo.go.focuspic = ART_FIGHT1;
*/
addBotsMenuInfo.back.generic.type = MTYPE_PTEXT;
addBotsMenuInfo.back.generic.flags = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS;

View file

@ -875,11 +875,11 @@ Selected=engine\code\q3_ui\ui_addbots.c
TopLine=40
Caret=39,58
[engine\code\q3_ui\ui_addbots.c]
TopLine=356
Caret=42,367
TopLine=361
Caret=21,373
[engine\code\q3_ui\ui_cdkey.c]
TopLine=259
Caret=1,277
TopLine=246
Caret=1,262
[engine\code\q3_ui\ui_cinematics.c]
TopLine=309
Caret=1,325