mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-04 23:38:10 +07:00
Changed arc sound backend
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -36,6 +36,7 @@ steam_appid.txt
|
||||
/annotations/src/main/resources/META-INF/services
|
||||
/core/assets/version.properties
|
||||
/core/assets/locales
|
||||
/core/assets/cache/
|
||||
/ios/src/mindustry/gen/
|
||||
/core/src/mindustry/gen/
|
||||
ios/robovm.properties
|
||||
|
Binary file not shown.
@ -88,6 +88,7 @@ public class ConstructBlock extends Block{
|
||||
}
|
||||
|
||||
Fx.placeBlock.at(tile.drawx(), tile.drawy(), block.size);
|
||||
if(shouldPlay()) Sounds.place.at(tile, calcPitch(true));
|
||||
}
|
||||
|
||||
static boolean shouldPlay(){
|
||||
@ -121,7 +122,6 @@ public class ConstructBlock extends Block{
|
||||
}
|
||||
|
||||
Events.fire(new BlockBuildEndEvent(tile, builder, team, false, config));
|
||||
if(shouldPlay()) Sounds.place.at(tile, calcPitch(true));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=3bd087c3dac6e220c31e0d33067557af5f382d05
|
||||
archash=
|
||||
|
@ -39,7 +39,6 @@
|
||||
</forceLinkClasses>
|
||||
<libs>
|
||||
<lib>z</lib>
|
||||
<lib>libs/libObjectAL.a</lib>
|
||||
<lib>libs/libarc.a</lib>
|
||||
<lib>libs/libarc-freetype.a</lib>
|
||||
</libs>
|
||||
@ -48,7 +47,7 @@
|
||||
<framework>OpenGLES</framework>
|
||||
<framework>QuartzCore</framework>
|
||||
<framework>CoreGraphics</framework>
|
||||
<framework>OpenAL</framework>
|
||||
<framework>CoreAudio</framework>
|
||||
<framework>AudioToolbox</framework>
|
||||
<framework>AVFoundation</framework>
|
||||
</frameworks>
|
||||
|
Reference in New Issue
Block a user