ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/bin/cfplus
(Generate patch)

Comparing deliantra/Deliantra-Client/bin/cfplus (file contents):
Revision 1.31 by root, Tue May 30 02:22:03 2006 UTC vs.
Revision 1.33 by root, Tue May 30 07:13:09 2006 UTC

921 $QUIT_DIALOG->show; 921 $QUIT_DIALOG->show;
922} 922}
923 923
924sub make_inventory_window { 924sub make_inventory_window {
925 my $invwin = $INV_WINDOW = new CFClient::UI::FancyFrame 925 my $invwin = $INV_WINDOW = new CFClient::UI::FancyFrame
926 x => "center", 926 x => "center",
927 y => "center", 927 y => "center",
928 def_w => $WIDTH * 9/10, 928 force_w => $WIDTH * 9/10,
929 def_h => $HEIGHT * 9/10, 929 force_h => $HEIGHT * 9/10,
930 title => "Inventory", 930 title => "Inventory",
931 name => "inventory_window", 931 name => "inventory_window",
932 ; 932 ;
933 933
934 $invwin->add (my $hb = new CFClient::UI::HBox homogeneous => 1); 934 $invwin->add (my $hb = new CFClient::UI::HBox homogeneous => 1);
935 935
936 $hb->add (my $vb1 = new CFClient::UI::VBox); 936 $hb->add (my $vb1 = new CFClient::UI::VBox);
1246 1246
1247my %demo;#d# 1247my %demo;#d#
1248 1248
1249sub force_refresh { 1249sub force_refresh {
1250 $fps = $fps * 0.95 + 1 / (($NOW - $LAST_REFRESH) || 0.1) * 0.05; 1250 $fps = $fps * 0.95 + 1 / (($NOW - $LAST_REFRESH) || 0.1) * 0.05;
1251 debug sprintf "%3.2f", $fps; 1251 debug sprintf "%3.2f", $fps if $ENV{CFPLUS_DEBUG} & 4;
1252 1252
1253 $CFClient::UI::ROOT->draw; 1253 $CFClient::UI::ROOT->draw;
1254 1254
1255 $WANT_REFRESH = 0; 1255 $WANT_REFRESH = 0;
1256 $CAN_REFRESH = 0; 1256 $CAN_REFRESH = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines