This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
O<startup> sub | |
S3000 M3 | |
G4 P15.0 | |
S6000 | |
G04 P30 | |
S12000 | |
G53 G0 Z0.0 | |
G04 P30 | |
S16000 | |
G53 G0 Z0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
O<startup> sub | |
M3 S3000 | |
G04 P15 | |
M3 S6000 | |
G04 P30 | |
M3 S12000 | |
G04 P30 | |
M3 S16000 | |
G04 P30 | |
M3 S20000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-06-13 15:12:59 [INFO] [ForgeModLoader] Forge Mod Loader version 5.2.17.716 for Minecraft 1.5.2 loading | |
2013-06-13 15:12:59 [INFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_17, running on Linux:amd64:2.6.32-5-amd64, installed at /home/biocraft/java/jdk1.7.0_17/jre | |
2013-06-13 15:12:59 [FINE] [ForgeModLoader] Java classpath at launch is mcpc-plus-1.5.2-R0.2-forge716-B531.jar | |
2013-06-13 15:12:59 [FINE] [ForgeModLoader] Java library path at launch is /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib | |
2013-06-13 15:12:59 [FINE] [ForgeModLoader] Enabling runtime deobfuscation | |
2013-06-13 15:12:59 [WARNING] [ForgeModLoader] The coremod cofh.asm.CoFHPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft | |
2013-06-13 15:12:59 [WARNING] [ForgeModLoader] The coremod codechicken.core.asm.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft | |
2013-06-13 15:12:59 [WARNING] [ForgeModLoa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public boolean render(int x, int y, int z, RenderBlocks renderer) { | |
Vec3Pool vp = renderer.blockAccess.getWorldVec3Pool(); | |
for (int s = 0; s < 6; s++) { | |
if (parts[s] == null) | |
continue; | |
TileSeptonPart ts = (TileSeptonPart) parts[s]; | |
SeptonModel m = ts.getModel(); | |
long mf = ts.getModelFlags(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void checkConnections() { | |
for (int i = 0; i < 6; i++) { | |
if (i == this.side.ordinal() || i == this.side.getOpposite().ordinal()) | |
continue; | |
ForgeDirection sideC = ForgeDirection.getOrientation(i); | |
TileEntity te = base.worldObj.getBlockTileEntity(base.xCoord+sideC.offsetX, | |
base.yCoord+sideC.offsetY,base.zCoord+sideC.offsetZ); | |
// check internal conn | |
TileSeptonPart tsp = base.getParts()[sideC.ordinal()]; | |
if (tsp != null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int getDefaultAddr(char * addr, size_t addrlen) { | |
const char* google_dns_server = "8.8.8.8"; | |
int dns_port = 53; | |
struct sockaddr_in serv; | |
int sock = socket ( AF_INET, SOCK_DGRAM, 0); | |
if(sock < 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void updateArroundWithPowermap(TileController tile, int i) { | |
PacketControllerData pkg = new PacketControllerData(); | |
pkg.setCircuit(tile.getCircuit()); | |
pkg.setDataPowered(true); | |
pkg.setCoords(tile.xCoord, tile.yCoord, tile.zCoord); | |
Packet packet = PacketTypeHandler.populatePacket(pkg); | |
PacketDispatcher.sendPacketToAllAround(tile.xCoord, tile.yCoord, tile.zCoord, i,tile.getWorldObj().getWorldInfo().getDimension() , packet); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void writeData(DataOutputStream data) throws IOException { | |
data.writeInt(x); | |
data.writeInt(y); | |
data.writeInt(z); | |
data.writeChar(extender.getSideSignal(ForgeDirection.UP).ordinal()); | |
data.writeChar(extender.getSideSignal(ForgeDirection.DOWN).ordinal()); | |
data.writeChar(extender.getSideSignal(ForgeDirection.NORTH).ordinal()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.squig.plc.client.renderer; | |
import java.nio.FloatBuffer; | |
import net.minecraft.src.TileEntity; | |
import net.minecraft.src.TileEntitySpecialRenderer; | |
import org.lwjgl.BufferUtils; | |
import org.lwjgl.opengl.GL11; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.squig.plc.client.renderer; | |
import java.nio.FloatBuffer; | |
import net.minecraft.src.TileEntity; | |
import net.minecraft.src.TileEntitySpecialRenderer; | |
import org.lwjgl.BufferUtils; | |
import org.lwjgl.opengl.GL11; |
NewerOlder