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

Comparing deliantra/Deliantra-Client/bin/deliantra (file contents):
Revision 1.111 by root, Mon Apr 12 02:46:55 2010 UTC vs.
Revision 1.113 by root, Thu Apr 22 11:26:51 2010 UTC

17 $zip->extractMember ("SPLASH.bmp", "$ENV{PAR_TEMP}/SPLASH.bmp"); 17 $zip->extractMember ("SPLASH.bmp", "$ENV{PAR_TEMP}/SPLASH.bmp");
18 } 18 }
19 19
20 require Win32::GUI::SplashScreen; 20 require Win32::GUI::SplashScreen;
21 21
22 Win32::GUI::SplashScreen::Show (
23 -file => "$ENV{PAR_TEMP}/SPLASH.bmp",
24 );
25
22 # initialise the resolver now, as vista forces us back to the desktop 26 # initialise the resolver now, as vista forces us back to the desktop
23 # when doing this. 27 # when doing this later.
24 use AnyEvent::DNS (); 28 use AnyEvent::DNS ();
25 AnyEvent::DNS::resolver; 29 AnyEvent::DNS::resolver;
26
27 Win32::GUI::SplashScreen::Show (
28 -file => "$ENV{PAR_TEMP}/SPLASH.bmp",
29 );
30 30
31 $startup_done = sub { 31 $startup_done = sub {
32 Win32::GUI::SplashScreen::Done (1); 32 Win32::GUI::SplashScreen::Done (1);
33 }; 33 };
34 } 34 }
1145 ]); 1145 ]);
1146 1146
1147 my $text = !$freq 1147 my $text = !$freq
1148 ? "audio is off" 1148 ? "audio is off"
1149 : "audio is enabled\n" 1149 : "audio is enabled\n"
1150 . "driver: " . DC::SDL_AudioDriverName . "\n"
1150 . "frequency (Hz): $freq\n" 1151 . "frequency (Hz): $freq\n"
1151 . "channels: $chans\n" 1152 . "channels: $chans\n"
1152 . "chunk decoders available: " . (join ", ", DC::MixChunk::decoders) . "\n" 1153 . "chunk decoders available: " . (join ", ", DC::MixChunk::decoders) . "\n"
1153 . "music decoders available: " . (join ", ", DC::MixMusic::decoders); 1154 . "music decoders available: " . (join ", ", DC::MixMusic::decoders);
1154 1155
1155 $AUDIO_INFO->set_text ($text); 1156 $AUDIO_INFO->set_text ($text);
1156} 1157}
1157 1158
1158sub audio_setup { 1159sub audio_setup {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines