- Timestamp:
- Jan 11, 2023, 1:15:24 AM (23 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Languages/Tunneler.cs.po
r69 r70 284 284 msgid "%0:s of %1:s" 285 285 msgstr "%0:s z %1:s" 286 287 #: usound.splaynotsupported 288 #, object-pascal-format 289 msgid "The play command %s does not work on your system" 290 msgstr "" 291 292 #: usound.sunabletoplay 293 msgid "Unable to play " 294 msgstr "" 295 -
trunk/Languages/Tunneler.pot
r69 r70 247 247 msgstr "" 248 248 249 #: usound.splaynotsupported 250 #, object-pascal-format 251 msgid "The play command %s does not work on your system" 252 msgstr "" 253 254 #: usound.sunabletoplay 255 msgid "Unable to play " 256 msgstr "" 257 -
trunk/UEngine.pas
r69 r70 7 7 IntfGraphics, FPImage, LCLType, SpecializedBitmap, GraphType, Math, URectangle, 8 8 Syncobjs, UThreading, Forms, DateUtils, UAudioSystem, Generics.Collections, 9 UWorld, UMatter ;9 UWorld, UMatter, USound; 10 10 11 11 const … … 243 243 CurrentRound: Integer; 244 244 MaxRound: Integer; 245 AudioShot: T MediaPlayer;246 AudioExplode: T MediaPlayer;245 AudioShot: TSound; 246 AudioExplode: TSound; 247 247 DrawDuration: TDatetime; 248 248 constructor Create(AOwner: TComponent); override; … … 645 645 Engine.Redraw; 646 646 end; 647 if Shield <= 0then begin647 if (Shield <= 0) and not Exploded then begin 648 648 Shield := 0; 649 649 Explosion(Position, ExplosionRange); … … 1817 1817 World := TWorld.Create; 1818 1818 //DefaultAudioSystem := TAudioSystemMPlayer.Create(nil); 1819 AudioShot := TMediaPlayer.Create(nil); 1820 AudioShot.FileName := 'Audio/GE_KF7_Soviet.wav'; 1821 AudioShot.Open; 1822 AudioExplode := TMediaPlayer.Create(nil); 1823 AudioExplode.FileName := 'Audio/bomb.wav'; 1824 AudioExplode.Open; 1819 AudioShot := TSound.Create(nil); 1820 AudioShot.FileName := GetCurrentDir + '/Audio/GE_KF7_Soviet.wav'; 1821 AudioExplode := TSound.Create(nil); 1822 AudioExplode.FileName := GetCurrentDir + '/Audio/bomb.wav'; 1825 1823 InitPlayerPool; 1826 1824 DigMasks := TObjectList<TMatrixByte>.Create; -
trunk/tunneler.lpi
r63 r70 101 101 </Item5> 102 102 </RequiredPackages> 103 <Units Count="1 3">103 <Units Count="15"> 104 104 <Unit0> 105 105 <Filename Value="tunneler.lpr"/> … … 172 172 <IsPartOfProject Value="True"/> 173 173 </Unit12> 174 <Unit13> 175 <Filename Value="USound.pas"/> 176 <IsPartOfProject Value="True"/> 177 </Unit13> 178 <Unit14> 179 <Filename Value="AsyncProcess2.pas"/> 180 <IsPartOfProject Value="True"/> 181 </Unit14> 174 182 </Units> 175 183 </ProjectOptions> -
trunk/tunneler.lpr
r61 r70 9 9 Interfaces, // this includes the LCL widgetset 10 10 Forms, TemplateGenerics, UPlatform, FileUtil, SysUtils, Common, UFormNewGame, 11 UFormMain, UFormMap, UFormGameResult, UCore, UWorld, UMatter, UFastPixel 11 UFormMain, UFormMap, UFormGameResult, UCore, UWorld, UMatter, UFastPixel, 12 USound, AsyncProcess2 12 13 { you can add units after this }; 13 14
Note:
See TracChangeset
for help on using the changeset viewer.