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

Comparing deliantra/gde/gce (file contents):
Revision 1.3 by root, Sun Feb 5 04:30:17 2006 UTC vs.
Revision 1.13 by root, Sun Feb 12 04:50:29 2006 UTC

3 3
4 gce - gtk (perl) crossfire editor 4 gce - gtk (perl) crossfire editor
5 5
6=cut 6=cut
7 7
8our $VERSION='0.1';
9
8use Gtk2 -init; 10use Gtk2 -init;
11
9use Crossfire; 12use Crossfire;
10use Crossfire::Gtk2; 13use Crossfire::Tilecache;
11 14
12my $VARDIR = "$ENV{HOME}/.gcfedit"; 15my $VARDIR = "$ENV{HOME}/.gcfedit";
13 16
14mkdir $VARDIR; 17mkdir $VARDIR;
15 18our $PICKDIR = "$Crossfire::LIB/maps/editor/picks";
16Crossfire::init ($VARDIR);
17Crossfire::Gtk2::init_tilecache ("$VARDIR/tilecache");
18 19
19use GCE::MainWindow; 20use GCE::MainWindow;
20require GCE::Map; 21use GCE::PickWindow;
21 22
22my $w = GCE::MainWindow->new; 23my $w = GCE::MainWindow->new;
24
25$w->set_default_size (800, 600);
23 26
24$w->show_all; 27$w->show_all;
25 28
26Gtk2->main; 29Gtk2->main;
27 30

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines