equal
deleted
inserted
replaced
311 (FileName: 'Whatthe.ogg'; Path: ptVoices; AltPath: ptNone),// sndWhatThe |
311 (FileName: 'Whatthe.ogg'; Path: ptVoices; AltPath: ptNone),// sndWhatThe |
312 (FileName: 'Solong.ogg'; Path: ptVoices; AltPath: ptNone),// sndSoLong |
312 (FileName: 'Solong.ogg'; Path: ptVoices; AltPath: ptNone),// sndSoLong |
313 (FileName: 'Ohdear.ogg'; Path: ptVoices; AltPath: ptNone),// sndOhDear |
313 (FileName: 'Ohdear.ogg'; Path: ptVoices; AltPath: ptNone),// sndOhDear |
314 (FileName: 'Gonnagetyou.ogg'; Path: ptVoices; AltPath: ptNone),// sndGonnaGetYou |
314 (FileName: 'Gonnagetyou.ogg'; Path: ptVoices; AltPath: ptNone),// sndGonnaGetYou |
315 (FileName: 'Drat.ogg'; Path: ptVoices; AltPath: ptNone),// sndDrat |
315 (FileName: 'Drat.ogg'; Path: ptVoices; AltPath: ptNone),// sndDrat |
316 (FileName: 'Bugger.ogg'; Path: ptVoices; AltPath: ptNone) // sndBugger |
316 (FileName: 'Bugger.ogg'; Path: ptVoices; AltPath: ptNone),// sndBugger |
|
317 (FileName: 'Amazing.ogg'; Path: ptVoices; AltPath: ptNone),// sndAmazing |
|
318 (FileName: 'Brilliant.ogg'; Path: ptVoices; AltPath: ptNone),// sndBrilliant |
|
319 (FileName: 'Excellent.ogg'; Path: ptVoices; AltPath: ptNone) // sndExcellent |
317 ); |
320 ); |
318 |
321 |
319 |
322 |
320 function AskForVoicepack(name: shortstring): Pointer; |
323 function AskForVoicepack(name: shortstring): Pointer; |
321 var i: Longword; |
324 var i: Longword; |
532 else if (snd in [sndOhDear, sndSoLong]) then |
535 else if (snd in [sndOhDear, sndSoLong]) then |
533 snd := sndByeBye |
536 snd := sndByeBye |
534 else if (snd = sndWhatThe) then |
537 else if (snd = sndWhatThe) then |
535 snd := sndNooo |
538 snd := sndNooo |
536 else if (snd = sndThisOneIsMine) then |
539 else if (snd = sndThisOneIsMine) then |
537 snd := sndReinforce; |
540 snd := sndReinforce |
|
541 else if (snd in [sndAmazing, sndBrilliant, sndExcellent]) then |
|
542 snd := sndEnemyDown; |
538 |
543 |
539 s:= cPathz[Soundz[snd].Path] + '/' + voicepack^.name + '/' + Soundz[snd].FileName; |
544 s:= cPathz[Soundz[snd].Path] + '/' + voicepack^.name + '/' + Soundz[snd].FileName; |
540 end; |
545 end; |
541 WriteToConsole(msgLoading + s + ' '); |
546 WriteToConsole(msgLoading + s + ' '); |
542 rwops := rwopsOpenRead(s); |
547 rwops := rwopsOpenRead(s); |