Skip to content

Commit fcd18b3

Browse files
committedMay 15, 2016
Updated OC and added yet more praise for #196.
1 parent 290ecd6 commit fcd18b3

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed
 

‎changelog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* ADDED: Noise Card!
44
- An upgraded Beep Card with slightly different syntax
55
- Can play square waves, sine waves, triangle waves and sawtooth waves!
6-
* ADDED: Sound Card! Lots of thanks to gamax92 for having done a big part of this! Also thanks to Temia!
6+
* ADDED: Sound Card! Lots of thanks to gamax92 for having done a big part of this! Also thanks to Temia for helping us design this!
77
- Plays generated sounds of various types akin to a noise card
88
- Supports frequency modulation, amplitude modulation, general volume changes, wave type changes, frequency changes and ADSR on 8 channels, allowing for highly customizable sound synthesis!
99
- Works on an instruction-based system; instructions are added to a queue and processed when wanted.

‎src/main/java/pl/asie/computronics/oc/driver/DriverBoardBoom.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public RackBusConnectable getConnectableAt(int index) {
178178
}
179179

180180
@Override
181-
public boolean onActivate(EntityPlayer player, ForgeDirection side, float hitX, float hitY, float hitZ) {
181+
public boolean onActivate(EntityPlayer player, float hitX, float hitY) {
182182
return false;
183183
}
184184

‎src/main/java/pl/asie/computronics/oc/driver/DriverBoardLight.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import net.minecraft.util.IIcon;
1616
import net.minecraft.util.MathHelper;
1717
import net.minecraft.util.ResourceLocation;
18-
import net.minecraftforge.common.util.ForgeDirection;
1918
import pl.asie.computronics.reference.Config;
2019
import pl.asie.lib.integration.Integration;
2120

@@ -316,7 +315,7 @@ public void save(NBTTagCompound tag) {
316315
}
317316

318317
@Override
319-
public boolean onActivate(EntityPlayer player, ForgeDirection side, float hitX, float hitY, float hitZ) {
318+
public boolean onActivate(EntityPlayer player, float hitX, float hitY) {
320319
final int
321320
x = MathHelper.floor_double(host.xPosition()),
322321
y = MathHelper.floor_double(host.yPosition()),

‎src/main/java/pl/asie/computronics/oc/driver/RackMountableWithComponentConnector.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import li.cil.oc.api.component.RackBusConnectable;
44
import li.cil.oc.api.component.RackMountable;
55
import net.minecraft.entity.player.EntityPlayer;
6-
import net.minecraftforge.common.util.ForgeDirection;
76

87
import java.util.EnumSet;
98

@@ -23,7 +22,7 @@ public RackBusConnectable getConnectableAt(int index) {
2322
}
2423

2524
@Override
26-
public boolean onActivate(EntityPlayer player, ForgeDirection side, float hitX, float hitY, float hitZ) {
25+
public boolean onActivate(EntityPlayer player, float hitX, float hitY) {
2726
return false;
2827
}
2928

0 commit comments

Comments
 (0)