X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbrisk.phh;h=2a7355c97bc4e6ab0f078d06147d2019da1ec311;hb=ef0eff447cc1d588c95b9b6bfc5da4cb14ba7af6;hp=9db417c7154f9607d55303dce416c95f2d9a7bdf;hpb=ee868390334d5d48f41b6b572867819b4f18a9e0;p=brisk.git
diff --git a/web/brisk.phh b/web/brisk.phh
index 9db417c..2a7355c 100644
--- a/web/brisk.phh
+++ b/web/brisk.phh
@@ -34,21 +34,42 @@ define(NICKSERV, "SERVER");
define(BRISK_DEBUG, FALSE);
// define(DEBUGGING, "local");
-/*
-$root_wellarr = Array ( 'GOOGLE',
- 'pinollo lanollo',
- 'rorella liolla' );
-*/
-$root_wellarr = Array ( );
-$table_wellarr = Array ( );
-
-$G_brisk_version = "0.4.2";
-
-/*$G_room_help = '
-Brisk - Ver. '.$G_brisk_version.'
-Copyright 2006 Matteo Nastasi
';
-*/
-$G_room_help = 'Brisk - Ver. '.$G_brisk_version.'
Copyright 2006 Matteo Nastasi
';
+$root_wellarr = Array ( 'Benvenuto in brisk (Ver. 0.4.3).',
+ 'Se vuoi iscriverti alla Mailing List, cliccala!' );
+$table_wellarr = Array ( 'In bocca al lupo!');
+
+$G_brisk_version = "0.4.3";
+
+$G_room_help= '
+
'); @@ -1092,10 +1110,29 @@ function show_table_info(&$bri, &$table, $table_pos) } } if ($table->mazzo == $table_pos) - $noty .= "Fai tu il mazzo."; + $noty .= "Fai tu il mazzo,"; else { $unam = xcape($bri->user[$table->player[$table->mazzo]]->name); - $noty .= "Il mazzo a $unam."; + $noty .= "Il mazzo a $unam,"; + } + + if ($user->subst == 'asta') { + if ($table->asta_win == -1) // auction case + $curplayer = $table->gstart % PLAYERS_N; + else + $curplayer = $table->asta_win; + } + else if ($user->subst == 'game') { + $curplayer = ($table->gstart + $table->turn) % PLAYERS_N; + } + + + if ($curplayer == $table_pos) { + $noty .= " tocca a te giocare."; + } + else { + $unam = xcape($bri->user[$table->player[$curplayer]]->name); + $noty .= " tocca a $unam giocare."; } if ($table->mult > 1) { @@ -1103,7 +1140,7 @@ function show_table_info(&$bri, &$table, $table_pos) } $noty .= " |
---|