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

Comparing deliantra/Deliantra-Client/bin/cfplus (file contents):
Revision 1.210 by root, Sun Aug 12 01:49:09 2007 UTC vs.
Revision 1.212 by root, Sun Aug 12 13:09:44 2007 UTC

263 or return; 263 or return;
264 $CFG->{effects_enable} 264 $CFG->{effects_enable}
265 or return; 265 or return;
266 266
267 my $queue = $AUDIO_PLAY{$face} ||= []; 267 my $queue = $AUDIO_PLAY{$face} ||= [];
268 push @$queue, [Event::time + 0.2, $dx, $dy, $vol]; # delay sound by max. 0.2s 268 push @$queue, [Event::time + 0.6, $dx, $dy, $vol]; # do not play sound for outdated events
269 audio_sound_push $face 269 audio_sound_push $face
270 unless @$queue > 1; 270 unless @$queue > 1;
271} 271}
272 272
273sub audio_music_set_meta { 273sub audio_music_set_meta {
2193 2193
2194 my %DEF_CFG = ( 2194 my %DEF_CFG = (
2195 sdl_mode => 0, 2195 sdl_mode => 0,
2196 fullscreen => 0, 2196 fullscreen => 0,
2197 fast => 0, 2197 fast => 0,
2198 opengl11 => 0,
2198 map_scale => 1, 2199 map_scale => 1,
2199 fow_enable => 1, 2200 fow_enable => 1,
2200 fow_intensity => 0, 2201 fow_intensity => 0,
2201 map_smoothing => 1, 2202 map_smoothing => 1,
2202 gui_fontsize => 1, 2203 gui_fontsize => 1,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines