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

Comparing deliantra/gde/gce (file contents):
Revision 1.1 by elmex, Sun Feb 5 00:34:36 2006 UTC vs.
Revision 1.3 by root, Sun Feb 5 04:30:17 2006 UTC

4 gce - gtk (perl) crossfire editor 4 gce - gtk (perl) crossfire editor
5 5
6=cut 6=cut
7 7
8use Gtk2 -init; 8use Gtk2 -init;
9use Crossfire;
10use Crossfire::Gtk2;
9 11
10my $VARDIR = "$ENV{HOME}/.gcfedit"; 12my $VARDIR = "$ENV{HOME}/.gcfedit";
11 13
14mkdir $VARDIR;
15
16Crossfire::init ($VARDIR);
17Crossfire::Gtk2::init_tilecache ("$VARDIR/tilecache");
18
12use GCE::MainWindow; 19use GCE::MainWindow;
20require GCE::Map;
21
13my $w = GCE::MainWindow->new; 22my $w = GCE::MainWindow->new;
14 23
15$w->show_all; 24$w->show_all;
16 25
17Gtk2->main; 26Gtk2->main;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines