'en' => 'they have <b>lost</b>'),
'info_yturn'=> array( 'it' => ' tocca a <b>te</b> giocare.',
'en' => ' it\'s <b>your</b> turn.'),
- 'info_turn' => array( 'it' => 'tocca a <b>$unam</b> giocare.',
+ 'info_turn' => array( 'it' => 'tocca a <b>%s</b> giocare.',
'en' => 'it\'s the <b>%s</b>\'s turn.'),
'info_mult' => array( 'it' => ' La partita vale <b>%s</b>.',
'en' => ' The game worth <b>%s</b>.' ),
}
-
+// rendiamo qui l'elenco dei punti come return della func
function calculate_points(&$table)
{
GLOBAL $G_all_points;
+ $ret = array();
$pro = 0;
if ($table->asta_pnt == 60)
$table->points[$table->points_n % MAX_POINTS][$i] = $pt;
$table->total[$i] += $pt;
+ $ret[$i] = $pt;
}
$table->points_n++;
$table->old_pnt = $pro;
$table->mult = 1;
+
+ return($ret);
}
/* show table
function briscola_show($room, $table, $user)
{
+ GLOBAL $G_lang, $mlang_bin5_bin5;
$ptnadd = "";
$ret = "";