ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/bin/pclient
(Generate patch)

Comparing deliantra/Deliantra-Client/bin/pclient (file contents):
Revision 1.9 by root, Fri Apr 7 13:53:38 2006 UTC vs.
Revision 1.10 by elmex, Fri Apr 7 16:04:03 2006 UTC

3use strict; 3use strict;
4 4
5use Crossfire::Client; 5use Crossfire::Client;
6use Crossfire::Protocol; 6use Crossfire::Protocol;
7 7
8use Client::Util;
9
8package Crossfire::Client; # uh, yeah 10package Crossfire::Client; # uh, yeah
9 11
10use strict; 12use strict;
13
14our $CFG;
15our $VERSION = '0.1';
11 16
12use SDL; 17use SDL;
13use SDL::App; 18use SDL::App;
14use SDL::Event; 19use SDL::Event;
15use SDL::Surface; 20use SDL::Surface;
190 195
191############################################################################# 196#############################################################################
192 197
193use Event; 198use Event;
194 199
200Client::Util::read_cfg "$Crossfire::VARDIR/pclient";
201
195glinit; 202glinit;
196 203
197$conn = new conn 204$conn = new conn
198 host => "cf.schmorp.de", 205 host => "cf.schmorp.de",
199 port => 13327; 206 port => 13327;
204 } 211 }
205}); 212});
206 213
207Event::loop; 214Event::loop;
208 215
209

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines