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.138 by root, Sat Dec 9 21:26:46 2006 UTC vs.
Revision 1.140 by elmex, Sat Dec 16 16:01:09 2006 UTC

68use CFPlus::Macro; 68use CFPlus::Macro;
69 69
70$SIG{QUIT} = sub { Carp::cluck "QUIT" }; 70$SIG{QUIT} = sub { Carp::cluck "QUIT" };
71$SIG{PIPE} = 'IGNORE'; 71$SIG{PIPE} = 'IGNORE';
72 72
73$Event::Eval = 0; 73$Event::Eval = 1;
74$Event::DIED = sub { 74$Event::DIED = sub {
75 CFPlus::fatal Carp::longmess $_[1] 75 CFPlus::fatal Carp::longmess $_[1]
76}; 76};
77 77
78my $MAX_FPS = 60; 78my $MAX_FPS = 60;
1770} 1770}
1771 1771
1772sub setup_build_button { 1772sub setup_build_button {
1773 my ($enabled) = @_; 1773 my ($enabled) = @_;
1774 if ($enabled) { 1774 if ($enabled) {
1775 $BUILD_BUTTON->hide if $BUILD_BUTTON;
1775 $BUILD_BUTTON ||= new CFPlus::UI::Button 1776 $BUILD_BUTTON ||= new CFPlus::UI::Button
1776 text => "Build", 1777 text => "Build",
1777 tooltip => "Opens the ingame builder", 1778 tooltip => "Opens the ingame builder",
1778 on_activate => sub { 1779 on_activate => sub {
1779 if ($CONN) { 1780 if ($CONN) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines