From: MirceaKitsune Date: Mon, 27 Sep 2010 16:01:33 +0000 (+0300) Subject: A nice message in the campaign winning dialog X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f4c822fafa3938c0365668ce18c47e7ead35695c;p=voretournament%2Fvoretournament.git A nice message in the campaign winning dialog --- 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'));