ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/gde/bin/gce
(Generate patch)

Comparing deliantra/gde/bin/gce (file contents):
Revision 1.8 by elmex, Sun Mar 12 12:18:55 2006 UTC vs.
Revision 1.9 by root, Mon Mar 20 01:13:28 2006 UTC

27} 27}
28 28
29use Gtk2 -init; 29use Gtk2 -init;
30 30
31use Crossfire; 31use Crossfire;
32use Crossfire::Tilecache;
33 32
34our $PICKDIR = "$Crossfire::LIB/maps/editor/picks"; 33our $PICKDIR = "$Crossfire::LIB/maps/editor/picks";
35our $CFG; 34our $CFG;
36our $MAINWIN; 35our $MAINWIN;
37 36
97 # FIXME: This sucks, moving it after showing it can't be a good thing. 96 # FIXME: This sucks, moving it after showing it can't be a good thing.
98 $window->show_all; 97 $window->show_all;
99 $window->move ($p_and_s->[0] || $default_x, $p_and_s->[1] || $default_y); 98 $window->move ($p_and_s->[0] || $default_x, $p_and_s->[1] || $default_y);
100} 99}
101 100
102read_cfg ("$Crossfire::VARDIR/gceconfig"); 101read_cfg "$Crossfire::VARDIR/gceconfig";
102
103# must be done after changing the libdir path:
104Crossfire::set_libdir $ENV{CROSSFIRE_LIBDIR};
105Crossfire::load_archetypes;
106Crossfire::load_tilecache;
103 107
104my $w = GCE::MainWindow->new; 108my $w = GCE::MainWindow->new;
105 109
106$w->load_layout; 110$w->load_layout;
107 111

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines