1 |
#!/opt/bin/perl |
2 |
=head1 NAME |
3 |
|
4 |
gce - gtk (perl) crossfire editor |
5 |
|
6 |
=cut |
7 |
|
8 |
our $VERSION='0.1'; |
9 |
|
10 |
use Gtk2 -init; |
11 |
|
12 |
use Crossfire; |
13 |
use Crossfire::Tilecache; |
14 |
|
15 |
my $VARDIR = "$ENV{HOME}/.gcfedit"; |
16 |
|
17 |
mkdir $VARDIR; |
18 |
our $PICKDIR = "$Crossfire::LIB/maps/editor/picks"; |
19 |
|
20 |
use GCE::MainWindow; |
21 |
use GCE::PickWindow; |
22 |
|
23 |
my $w = GCE::MainWindow->new; |
24 |
|
25 |
$w->set_default_size (800, 600); |
26 |
|
27 |
$w->show_all; |
28 |
|
29 |
Gtk2->main; |
30 |
|
31 |
=head1 AUTHOR |
32 |
|
33 |
Marc Lehmann <schmorp@schmorp.de> |
34 |
http://home.schmorp.de/ |
35 |
|
36 |
Robin Redeker <elmex@ta-sa.org> |
37 |
http://www.ta-sa.org/ |
38 |
|
39 |
=cut |