ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.468 by root, Thu Jan 8 19:23:44 2009 UTC vs.
Revision 1.472 by root, Sat Jun 6 21:43:13 2009 UTC

105our %RESOURCE; 105our %RESOURCE;
106 106
107our $TICK = MAX_TIME * 1e-6; # this is a CONSTANT(!) 107our $TICK = MAX_TIME * 1e-6; # this is a CONSTANT(!)
108our $NEXT_RUNTIME_WRITE; # when should the runtime file be written 108our $NEXT_RUNTIME_WRITE; # when should the runtime file be written
109our $NEXT_TICK; 109our $NEXT_TICK;
110our $USE_FSYNC = 1; # use fsync to write maps - default off 110our $USE_FSYNC = 1; # use fsync to write maps - default on
111 111
112our $BDB_DEADLOCK_WATCHER; 112our $BDB_DEADLOCK_WATCHER;
113our $BDB_CHECKPOINT_WATCHER; 113our $BDB_CHECKPOINT_WATCHER;
114our $BDB_TRICKLE_WATCHER; 114our $BDB_TRICKLE_WATCHER;
115our $DB_ENV; 115our $DB_ENV;
1320 1320
1321# "readahead" all extensions 1321# "readahead" all extensions
1322sub cache_extensions { 1322sub cache_extensions {
1323 my $grp = IO::AIO::aio_group; 1323 my $grp = IO::AIO::aio_group;
1324 1324
1325 add $grp IO::AIO::aio_readdir $LIBDIR, sub { 1325 add $grp IO::AIO::aio_readdirx $LIBDIR, IO::AIO::READDIR_STAT_ORDER, sub {
1326 for (grep /\.ext$/, @{$_[0]}) { 1326 for (grep /\.ext$/, @{$_[0]}) {
1327 add $grp IO::AIO::aio_load "$LIBDIR/$_", my $data; 1327 add $grp IO::AIO::aio_load "$LIBDIR/$_", my $data;
1328 } 1328 }
1329 }; 1329 };
1330 1330
2785 id => "infobox", 2785 id => "infobox",
2786 title => "Skills", 2786 title => "Skills",
2787 reply => undef, 2787 reply => undef,
2788 tooltip => "Shows your experience per skill and item power", 2788 tooltip => "Shows your experience per skill and item power",
2789 }, 2789 },
2790 "c/shopitems" => {
2791 id => "infobox",
2792 title => "Shop Items",
2793 reply => undef,
2794 tooltip => "Shows the items currently for sale in this shop",
2795 },
2790 "c/resistances" => { 2796 "c/resistances" => {
2791 id => "infobox", 2797 id => "infobox",
2792 title => "Resistances", 2798 title => "Resistances",
2793 reply => undef, 2799 reply => undef,
2794 tooltip => "Shows your resistances", 2800 tooltip => "Shows your resistances",
2796 "c/pets" => { 2802 "c/pets" => {
2797 id => "infobox", 2803 id => "infobox",
2798 title => "Pets", 2804 title => "Pets",
2799 reply => undef, 2805 reply => undef,
2800 tooltip => "Shows information abotu your pets/a specific pet", 2806 tooltip => "Shows information abotu your pets/a specific pet",
2807 },
2808 "c/perceiveself" => {
2809 id => "infobox",
2810 title => "Perceive Self",
2811 reply => undef,
2812 tooltip => "You gained detailed knowledge about yourself",
2801 }, 2813 },
2802 "c/uptime" => { 2814 "c/uptime" => {
2803 id => "infobox", 2815 id => "infobox",
2804 title => "Uptime", 2816 title => "Uptime",
2805 reply => undef, 2817 reply => undef,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines