From f4c822fafa3938c0365668ce18c47e7ead35695c Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 27 Sep 2010 19:01:33 +0300 Subject: [PATCH] A nice message in the campaign winning dialog --- data/qcsrc/menu/voret/dialog_singleplayer_winner.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/data/qcsrc/menu/voret/dialog_singleplayer_winner.c b/data/qcsrc/menu/voret/dialog_singleplayer_winner.c index fb5c73e4..e834fa29 100644 --- a/data/qcsrc/menu/voret/dialog_singleplayer_winner.c +++ b/data/qcsrc/menu/voret/dialog_singleplayer_winner.c @@ -3,8 +3,8 @@ CLASS(VoretWinnerDialog) EXTENDS(VoretDialog) METHOD(VoretWinnerDialog, fill, void(entity)) ATTRIB(VoretWinnerDialog, title, string, "Winner") ATTRIB(VoretWinnerDialog, color, vector, SKINCOLOR_DIALOG_SINGLEPLAYER) - ATTRIB(VoretWinnerDialog, intendedWidth, float, 0.32) - ATTRIB(VoretWinnerDialog, rows, float, 12) + ATTRIB(VoretWinnerDialog, intendedWidth, float, 0.54) + ATTRIB(VoretWinnerDialog, rows, float, 14) ATTRIB(VoretWinnerDialog, columns, float, 3) ENDCLASS(VoretWinnerDialog) #endif @@ -15,7 +15,10 @@ void fillVoretWinnerDialog(entity me) entity e; me.TR(me); - me.TD(me, me.rows - 2, me.columns, e = makeVoretImage("/gfx/winner", -1)); + // this message must be sensitive for all possible campaigns! + me.TD(me, 1, 1, e = makeVoretTextLabel(0, "And so it all ends, with one squeeze of the warm fleshy stomach.")); + me.TR(me); + me.TD(me, me.rows, me.columns, e = makeVoretImage("/gfx/winner", -1)); me.gotoRC(me, me.rows - 1, 0); me.TD(me, 1, me.columns, e = makeVoretButton("OK", '0 0 0')); -- 2.39.2