ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/gde/gce
Revision: 1.2
Committed: Sun Feb 5 02:08:48 2006 UTC (18 years, 3 months ago) by elmex
Branch: MAIN
Changes since 1.1: +6 -0 lines
Log Message:
put init routines in

File Contents

# User Rev Content
1 elmex 1.1 #!/opt/bin/perl
2     =head1 NAME
3    
4     gce - gtk (perl) crossfire editor
5    
6     =cut
7    
8     use Gtk2 -init;
9 elmex 1.2 use Crossfire;
10     use Crossfire::Gtk2;
11 elmex 1.1
12     my $VARDIR = "$ENV{HOME}/.gcfedit";
13 elmex 1.2 mkdir $VARDIR;
14    
15     Crossfire::init ($VARDIR);
16     Crossfire::Gtk2::init_tilecache ($VARDIR.'/tilecache');
17 elmex 1.1
18     use GCE::MainWindow;
19     my $w = GCE::MainWindow->new;
20    
21     $w->show_all;
22    
23     Gtk2->main;
24    
25     =head1 AUTHOR
26    
27     Marc Lehmann <schmorp@schmorp.de>
28     http://home.schmorp.de/
29    
30     Robin Redeker <elmex@ta-sa.org>
31     http://www.ta-sa.org/
32    
33     =cut