mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-24 21:01:34 +00:00
fix wrong buttons in add bot menu ingame
This commit is contained in:
parent
02f649d08c
commit
caed223c05
2 changed files with 24 additions and 9 deletions
|
@ -361,7 +361,7 @@ static void UI_AddBotsMenu_Init( void ) {
|
|||
}
|
||||
|
||||
addBotsMenuInfo.go.generic.type = MTYPE_PTEXT;
|
||||
addBotsMenuInfo.go.generic.flags = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS;
|
||||
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;
|
||||
|
@ -370,6 +370,21 @@ static void UI_AddBotsMenu_Init( void ) {
|
|||
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-128;
|
||||
addBotsMenuInfo.go.generic.y = 256+128-64;
|
||||
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;
|
||||
addBotsMenuInfo.back.generic.id = ID_BACK;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue