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
|
/annotations/src/main/resources/META-INF/services
|
||||||
/core/assets/version.properties
|
/core/assets/version.properties
|
||||||
/core/assets/locales
|
/core/assets/locales
|
||||||
|
/core/assets/cache/
|
||||||
/ios/src/mindustry/gen/
|
/ios/src/mindustry/gen/
|
||||||
/core/src/mindustry/gen/
|
/core/src/mindustry/gen/
|
||||||
ios/robovm.properties
|
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);
|
Fx.placeBlock.at(tile.drawx(), tile.drawy(), block.size);
|
||||||
|
if(shouldPlay()) Sounds.place.at(tile, calcPitch(true));
|
||||||
}
|
}
|
||||||
|
|
||||||
static boolean shouldPlay(){
|
static boolean shouldPlay(){
|
||||||
@@ -121,7 +122,6 @@ public class ConstructBlock extends Block{
|
|||||||
}
|
}
|
||||||
|
|
||||||
Events.fire(new BlockBuildEndEvent(tile, builder, team, false, config));
|
Events.fire(new BlockBuildEndEvent(tile, builder, team, false, config));
|
||||||
if(shouldPlay()) Sounds.place.at(tile, calcPitch(true));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=3bd087c3dac6e220c31e0d33067557af5f382d05
|
archash=
|
||||||
|
|||||||
@@ -39,7 +39,6 @@
|
|||||||
</forceLinkClasses>
|
</forceLinkClasses>
|
||||||
<libs>
|
<libs>
|
||||||
<lib>z</lib>
|
<lib>z</lib>
|
||||||
<lib>libs/libObjectAL.a</lib>
|
|
||||||
<lib>libs/libarc.a</lib>
|
<lib>libs/libarc.a</lib>
|
||||||
<lib>libs/libarc-freetype.a</lib>
|
<lib>libs/libarc-freetype.a</lib>
|
||||||
</libs>
|
</libs>
|
||||||
@@ -48,7 +47,7 @@
|
|||||||
<framework>OpenGLES</framework>
|
<framework>OpenGLES</framework>
|
||||||
<framework>QuartzCore</framework>
|
<framework>QuartzCore</framework>
|
||||||
<framework>CoreGraphics</framework>
|
<framework>CoreGraphics</framework>
|
||||||
<framework>OpenAL</framework>
|
<framework>CoreAudio</framework>
|
||||||
<framework>AudioToolbox</framework>
|
<framework>AudioToolbox</framework>
|
||||||
<framework>AVFoundation</framework>
|
<framework>AVFoundation</framework>
|
||||||
</frameworks>
|
</frameworks>
|
||||||
|
|||||||
Reference in New Issue
Block a user