ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/gde/gce
Revision: 1.12
Committed: Thu Feb 9 19:59:37 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
Changes since 1.11: +2 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
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 Crossfire::init $VARDIR;
21 Crossfire::Tilecache::init_tilecache "$VARDIR/tilecache";
22
23 use GCE::MainWindow;
24 use GCE::PickWindow;
25
26 my $w = GCE::MainWindow->new;
27
28 $w->set_default_size (800, 600);
29
30 $w->show_all;
31
32 Gtk2->main;
33
34 =head1 AUTHOR
35
36 Marc Lehmann <schmorp@schmorp.de>
37 http://home.schmorp.de/
38
39 Robin Redeker <elmex@ta-sa.org>
40 http://www.ta-sa.org/
41
42 =cut